John Baird
Coatesville, Pennsylvania, United States
General information
Category:
Coding, syntax and commands
Environment versions
Network:
Windows 2008 Server
>I have a combo bound to a data set. The first column of the data set it the PK.
>
>When the user selects an item, how do I determine the PK of the selected item?
use the selectedIndex to determine which row your on...then use that as the index in your DataRow[selectedIndex][whichcolumn] to get the pk.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only