|
-
Oct 5th, 2012, 03:29 AM
#1
Thread Starter
Lively Member
[RESOLVED] DatagridView Cell Editing Control Value
I am using a DGV control to get data from the user.
1. Editing Control Value
I have multiple columns including combo box and checkbox.
if i need to read the value of the editing control. i.e the value of the cell before the cellediting ends.
i can do it easily from the dgv.currencells.value after the cellediting ends.
But i need to alert the user for entering a wrong value at the moment he enters the data not after finishing his editing.
The same type of value needed from the combox col of the DGV. When he selects an item i have to show error for some of the item and not for all
2.Get Combo Box Column Text Value
I can get the value of the combobox index using the Cell Value.
But i also need the text value of the combo box for manipulation in another column.
Say list of combo box is
1, name1
2,name 2
3,name 3
cell value returns 1,2,3 but i need name1,name 2,name 3 for some manipulation
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|