?
Solved

ASP.net controls programatically added to a web page

Posted on 2011-09-27
3
Medium Priority
?
223 Views
Last Modified: 2012-05-12
Hi

In ASP.net 4 I have to build a site that is used a a questionaire.
I want to be able to add radio buttons ore other similar controils
programatically to each web page depending on the information stored
in my SQL database.
What is the best way to approach this. Can I perhaps do some sort of Listbox with
several columns? Or a GridView?
Just need a little advice.

Thanks
0
Comment
Question by:Murray Brown
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 22

Accepted Solution

by:
plusone3055 earned 1000 total points
ID: 36709618
you can do either
its based on your preference
I would reccomend if your basing the choies on what is already stored in your DB that you use a listbox that way depending on what is or is not present with generate in a dropdown :)

0
 
LVL 12

Assisted Solution

by:Ramkisan Jagtap
Ramkisan Jagtap earned 1000 total points
ID: 36710731
If you have fixed fields in the DB then u can use datalist or listbox with ur costom template. At run time you can add any no. of items to it.
0
 

Author Closing Comment

by:Murray Brown
ID: 36711417
thanks very much
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question