my topic is checked rows comparision with th another lable
my error is Input string was not in a correct format.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rishikesh Kumar SinghPosted Feb 27, 2013, 6:09 AM
string col=GridView1.Columns[0].HeaderText;
now do whatever you want..
you can compare with the label value like
if(Label1.Text.equals(col))
{
//
//
}
If it helps you mark this answer as an accepted answer otherwise let me know..!!