how to get value of user type column into combox box , user type is 2nd table first is user so in combo box there's a list for example doctor ,abc,xyz
and iam working on windows application data grid view cellContent click event when i click on any cell all values r get into textboxes but usertype when i click i get value of usertype but again click on another cell i getting values of first click and second click both .
Hamza_13
0
Newbie Poster
Recommended Answers
Jump to PostSo it sounds like you want to populate your ComboBox with all the distinct values from a column.
Look for the event "CellValueChanged" in the DataGridView. This should fire after the cell's value has been edited, and focus has left the cell (so like leaving edit more).
However, I would …
All 4 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.