I am using visual studio vb asp.net, i am trying to use dataset.xsd. but i am getting error. It is showing error , that ABC variable is used before it has been assigned a value a null reference exception could result at the runtime
in my program i have loginDataSet.xsd > uloginDS
this is the coding
Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim uloginAdapter1 As New loginDataSetTableAdapters.uLoginDSTableAdapter
Dim ds1 As loginDataSet.uLoginDSDataTable
Dim abc As loginDataSet.uLoginDSRow
ds1 = uloginAdapter1.GetData()
Dim k As String = abc.uName
txtUserPassword.Text = k
End Sub
This video shows how to work with dataset design and it has more parts. it is a youtube video link.
http://www.youtube.com/watch?v=sIgKuATsb-E
But this video not shows how to read 1 row or 1 data entry. i try some coding but getting a error