Hi! I want to set the selected value in a dropdownlist inside detailview using the querystring.
I have:
Code:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Load
DetailsView1.DropDownList1.SelectedValue = Request("EmployeeID")
End Sub
but it gives me an error: "DropDownList1 not a member of System.Web.UI.Webcontrols.DetailsView"
How do I access the dropdownlist1?
Thanks.