Programming with Talha Tanweer
Asp.net
Ado.net
C#
Sql
Entity Framework
Articles
Question & answers
Forums
How to
Monday, 2 March 2015
Drop Down Data Binding in Asp.Net
DataTable
data = GetData();
ddrLocationList.DataSource = data;
ddrLocationList.DataTextField =
"Name"
;
ddrLocationList.DataValueField =
"ID"
;
ddrLocationList.DataBind();
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment