E
EMW
How can I detect on which cell the user has clicked on a datagrid
webcontrol?
rg,
Eric
webcontrol?
rg,
Eric
Curt_C said:2 things
1) in the BIND of the datagrid
this.datagrid1.DataKeyField = "YOUR_DB_KEY_FIELD";
2) in the datagrid_SelectedIndexChanged event
int MyRowID =
this.datagrid1.DataKeys[this.datagrid1.SelectedIndex].ToString();
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
EMW said:Then how is it done with just the row?
rg,
Eric