Solved

Binding dropdownlist

Posted on 2013-05-23
2
296 Views
Last Modified: 2013-05-24
I am just courious on when populating US states in Dropdownlist should I populating it from aspx page <asp: dropdownlist   id="ddlusstates" runat="server> <asp:Listitem value etc..." Or should bind it from sql data everytime? Which one is more efficient?
0
Comment
Question by:VBdotnet2005
2 Comments
 
LVL 22

Accepted Solution

by:
Mrunal earned 250 total points
ID: 39193168
This decision is up to you.
If you are good with SQL data then go with that as it is more maintainable and secured and if again somewhere else you need to use same data.

Otherwise included in aspx is also fine, as ultimately it is rendering same in both the cases.

Hope you  get what you want.
0
 
LVL 29

Assisted Solution

by:Kumaraswamy R
Kumaraswamy R earned 250 total points
ID: 39193607
bind it from sql data any events
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …

856 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