DataGrid

  • Thread starter Thread starter Rodrigo Ferreira
  • Start date Start date
R

Rodrigo Ferreira

Hello,

In my project i have a datagrid with 3 columns:

ID C1 C2
1 Image true
2 Sound true

In C2 i have a CheckBox.

What i want is: when i change de checkbox state, run the CheckedChanged
event. Inside this i have a sql comand.

For run this commannd i need to know what's the value of column ID in that
especif row! And i don't know how to do that!

Greetings,

Rodrigo Ferreira
 
Use the EventArgs argument, and keep referencing the objects parent
until you get to the TableRow object. Then use the FindControls
method.

Hope this helps.
 
Back
Top