By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,876 Members | 1,200 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,876 IT Pros & Developers. It's quick & easy.

mark the item that selected in the dropdownlist

P: n/a
How do I mark the item that selected in the dropdownlist .
the state is is ny and i want to mark was selected on the first page.
If Page.IsPostBack = False Then

Dim statefile As CustomersDB = New CustomersDB

type.DataSource = statefile.GetState
Dim customerDetails As CustomerDetails =

state.Text = customerDetails.State

end if
<asp:DropDownList ID="type" AutoPostBack="True" DataTextField="State"
DataValueField="StateId" Runat="server"></asp:DropDownList>

Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.