I am loading my data based on my item id....i used a breakpoint on my line
if is dbnull(Demo.Item(4)) = False then
it shows that there is an item called EA there
However, when it goes to the next line it is blank?
Public Sub LoadItemInfo()
'Editing Item so load info
GETINFO.SelectCommand = "Select * From ITEM Where ITEMID = '" & Server.HtmlEncode(txtItemID.Text) & "'"
Dim dv As DataView = CType(GETINFO.Select(DataSourceSelectArguments.Empty), DataView)
If dv.Count > "0" Then
Dim Demo As DataRowView = dv.Item(0)
'Load Info
'TITLE
If IsDBNull(Demo.Item(0)) = False Then
txtItemID.Text = Server.HtmlDecode(Demo.Item(0))
Session("EDITINGITEM") = Server.HtmlDecode(Demo.Item(0))
Else
txtItemID.Text = ""
...
Go to the complete details ...