i have a gridview1 and to get its data of select button field
- int rowIndex = Convert.ToInt32(e.CommandArgument);
- GridViewRow row = GridView1.Rows[rowIndex];
- string country = row.Cells[1].Text;
how to get value ?
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
Ronika JencyRank #770 · 3K reputationPosted Jun 10, 2019, 12:44 AM EDT
Jignesh KumarRank #91 · 22.9K reputationPosted Jun 6, 2019, 11:29 PM EDT
Jignesh KumarRank #91 · 22.9K reputationPosted Jun 8, 2019, 2:57 AM EDT
Subin ThomasRank #724 · 3.2K reputationPosted Jun 9, 2019, 7:34 PM EDT
Ronika JencyRank #770 · 3K reputationPosted Jun 9, 2019, 11:39 PM EDT
Subin ThomasRank #724 · 3.2K reputationPosted Jun 6, 2019, 11:48 PM EDT
Jignesh KumarRank #91 · 22.9K reputationPosted Jun 6, 2019, 11:52 PM EDT
Ronika JencyRank #770 · 3K reputationPosted Jun 9, 2019, 9:00 PM EDT
Subin ThomasRank #724 · 3.2K reputationPosted Jun 9, 2019, 9:12 PM EDT