Subject: DropdownList
Posted By: Venkatesan Post Date: 12/11/2006 9:56:22 AM
how to display selected(1 row) from SqlServer to DDList
Venkatesan

Reply By: dparsons Reply Date: 12/11/2006 10:03:35 AM
Stop being so vauge in your posts.

ddl.DataTextField = "Column";
ddl.DataValueField = "Column";
ddl.DataSource = dt;
ddl.DataBind();
ddl.SelectedValue = "[data]";

-------------------------
I will only tell you how to do it, not do it for you.  
Unless, of course, you want to hire me to do work for you.

^^Thats my signature

Go to topic 53204

Return to index page 97
Return to index page 96
Return to index page 95
Return to index page 94
Return to index page 93
Return to index page 92
Return to index page 91
Return to index page 90
Return to index page 89
Return to index page 88