hi guys.. i have generated 50 items in my dropdownlist..
But its always returned as 1.0 instead of 8.0 Please advise.
Immediate Window
?DT.Rows(0).Item("priority")
8.0 {Double}
Double: 8.0
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Page.IsPostBack = False Then
BindDDL_priority()
DT = product.return_table("10001") If DT.Rows.Count > 0 Then
me.ddl_priority.SelectedValue = DT.row(0).item("priority").ToString End If
End If
End Sub
Private Sub BindDDL_priority()
For x As Integer = 1 To 50
Me.ddl_priority.Items.Add(Format(CDbl(x), &qu ...
Go to the complete details ...