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
type.DataBind()
Dim customerDetails As CustomerDetails =
Customer.GetCustomerDetails(customerID)
state.Text = customerDetails.State
end if
<asp:DropDownList ID="type" AutoPostBack="True" DataTextField="State"
DataValueField="StateId" Runat="server"></asp:DropDownList>