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:
Code using for DDL:
Any ideia to solve this problem?
Thanks ;
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
Thanks ;