My topic is checked rows comparision with th another lable
my error is Input string was not in a correct format.
Input string was not in a correct format.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rishikesh Kumar SinghRank #1,250 · 1.4K reputationPosted Feb 27, 2013, 1:09 AM EST
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..!!