This is how I do it:Dim dtr_Clients As SqlDataReaderdtr_Clients = obj_Clients.SelectAllForDropdownIf dtr_Clients.HasRows Then drp_Clients.DataSource = dtr_Clients drp_Clients.DataTextField = "ClientName" drp_Clients.DataValueField = "ClientNames_ID" drp_Clients.DataBindEnd If
SelectAllForDropdown is a method that queries the db and returns a recordset.After you bind the data to the dropdown, you can still add items to the dropdown like so:drp_Clients.Items.Insert(0, "[Select One]")
ordrp_Clients.Items.Insert(0, new ListItem("[Select One]", ""))
Move like you have a purpose.