|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have a dropdown control that is getting populated by a dataview.
When I select a value out of that dropdown control I would like the datarow that that selectd value relates to to populate the a form. I tried to bind the text boxes to the same dataview but I get an error. Is there any way I can accomplish this? Thanks, MTmace |
|
#2
|
|||
|
|||
|
I tend to do this type of stuff in a brute force way. There may be easier ways to do it. I would store the dataview in a form level variable. In the dropdown's OnSelectedIndexChanged event, I would then set the dataview's rowfilter property to filter the selected row and then rebind the form manually.
I've that type of thing in ASP.NET. HTH. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > .NET Development > Databinding to 2 data sources |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|