How do I get the value of a specific cell in a grid view
I want the action to happen after I click on the gray cell like shown in the picture
Printable View
How do I get the value of a specific cell in a grid view
I want the action to happen after I click on the gray cell like shown in the picture
Grid.Rows.Item(1).Cells("ComplainID").Value
i think it also works as
Grid.Rows(1).Cells("ComplainID").Value
Here it says ComplainID, its the actual name of the column no the headertext, and you can also use a numeric value, as to say, if you know its the fifth columns on base 0 you will put a 4.