Generate Gridview Based on Columns in Table of Sql server
generate Gridview Template dynamically Based on Table Columns of Sql Server i have 70 tables
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
Tom MohanRank #912 · 2.3K reputationPosted Apr 15, 2015, 2:27 AM EDT
muthukumar146 reputationPosted Apr 15, 2015, 2:51 AM EDT
Khargesh RajputRank #616 · 3.9K reputationPosted Apr 15, 2015, 2:55 AM EDT
find dropdown control id and bind your Dropdown
You have to give Commandname in aspx when you click to edit
suppose you have give Coomandname="BindDDL"
then
OnRowCommand
if(e.CommandName.Equals("BindDDL")
{
Bind data here
}