hi,
I want to capture all the rows data which displaying in a gridview without selecting the gridview.Like
string []str=new string[30];
for(int i=0;i<gridview1.rows.count;i++)
{
str[i]=((Label)GridView1.Rows[i].FindControl("Label7")).ToString(); ////But this gives error
Unable to cast object of type 'System.Web.UI.WebControls.Label' to type 'System.IConvertible'.Unable
to cast object of type 'System.Web.UI.WebControls.Label' to type 'System.IConvertible'.Go to the complete details ...