c# 4.0 - Check box inside a gridview -


in application , inside grid view each , every row contains check box. after clicking check box have access entire row data. iam unable find row. can 1 ?

try code may helps..

protected void rdblststudenttype_selectedindexchanged(object sender, eventargs e) {

        gridviewrow gridrow = ((sender checkbox).parent).parent gridviewrow;         int currentrowindex = gridrow.rowindex; 

}

by using currentrowindex, can access entire row .


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -