How can I control GridView Column From Drop Down List SelectedIndexChanged Event?
GridView Column Control
3 Answers
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
Rahul SinghRank #1,323 · 1.3K reputationPosted Nov 24, 2014, 11:03 PM EST
If I understood you correctly, then probably on dropdownlist changed event we can populate the Dataset\ DataTable and bind the gridview, but the gridview must be autogenerated in this case or in other words its AutoGenerateColumns property should be set to true.
Manish Kumar ChoudharyRank #339 · 7.4K reputationPosted Nov 24, 2014, 5:54 PM EST
Read these links, it will help you
http://highoncoding.com/Articles/125_Accessing_DropDownLists_inside_the_GridView_Control.aspx
http://www.codeproject.com/Articles/53559/Accessing-a-DropDownList-inside-a-GridView
Tin Gyi19 reputationPosted Nov 24, 2014, 10:02 PM EST