Solved

Binding dropdownlist

Posted on 2013-05-23
2
267 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

759 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now