Hi,
We have a numbers of column that we need to read base on that we will generate controls.
is it possible using c sharp.
please help me...
Read database column
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
Suthish NairRank #92 · 22.8K reputationPosted Feb 24, 2011, 2:59 AM EST
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Feb 24, 2011, 3:12 AM EST
Yes its possible to create controls dynamically.
Logic is, just get the count of column and use the code given in the article with in the loop.
Like
for(i=0;i
code to create controls;
}
the link here
http://www.c-sharpcorner.com/UploadFile/mahesh/1150/
Suthish NairRank #92 · 22.8K reputationPosted Feb 27, 2011, 7:25 AM EST