Set Value On Column of GridView
-
How can i set value for Column1 when value of column2 changed on a row?:confused:. I need your help, Plz help me. Thank you very much.
-
How can i set value for Column1 when value of column2 changed on a row?:confused:. I need your help, Plz help me. Thank you very much.
you need to utilize the after_Update event from the datagrid. The arguments taht are passed include the row and column as ordinals. Then all you have to do is access the information in column 2, manipulate it and change the info in column1. One gotcha to watch out for is that you need to specify which columns you want the event to do work on. You can do this by adding a select...case liek this select e.datagridcolumn (not sure if this is the actual name of the parameter passed) case 2 Make changes to column 1 else do nothing end select