DDL doesnt show selected value

startuga

New member
Joined
Aug 21, 2013
Messages
1
Programming Experience
Beginner
Hii guys,
I have an DDL that is import values from DB, and when the user select a row in GV it should show the value that is in GV Row but for some reason that i dont know the DDL are showing 1st value by default instead the selected value in GV.

GV Code:
VB.NET:
<asp:HyperLinkField DataNavigateUrlFields="AREA_CODE"
                                    DataNavigateUrlFormatString = "Edit_CLUSTERS.aspx?AREA_CODE={2}"  Text="Edit" >

Code using for DDL:
VB.NET:
If Not IsPostBack Then
                    Dim strAreaCod As String = Request.QueryString("AREA_ID")
                    ddlEdit_ClustersAreaCode.SelectedValue = strAreaCod
Any ideia to solve this problem?
Thanks ;
 
Back
Top