How can I get the data from Auto-Generated column of selected row in the gridview?
Can anybody help me in my question?
Thanks in advanced for viewing my question..
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
Bhushan BhasmeRank #2,348 · 604 reputationPosted Jun 25, 2015, 7:51 PM EDT
foreach (var col in gvSample.Columns) { if (col.Text.ToLower().Trim() == columnName.ToLower().Trim()) { // hiding the column from the grid view. col.Visible = false; //Or Do Something } } Something Like This.... Hope This Will Help YouPankaj Kumar ChoudharyRank #80 · 24.4K reputationPosted Jun 25, 2015, 7:54 PM EDT