Wednesday, 6 April 2011

Take the values from gridview

//Take the values from GridView 
String strSelected_AnnouncementID = ((ImageButton)sender).CommandArgument;

Boolean Stutus = (Boolean)DataBinder.Eval(e.Row.DataItem, "Status");

//Get control of GridView

ImageButton imgStatus = (ImageButton)e.Row.FindControl("imgStatus");

No comments:

Post a Comment