this might give you a clue how to populate a text box
'create a new dataset to hold our data
Dim myDataSet As New DataSet
'fill the dataset with the result of our query from the specified command
myAdapter1.Fill(myDataSet, "phldetail")
'Bind the DataSet to the GridView
gvphldetail.DataSource = myDataSet
gvphldetail.DataBind()
lblsp.Text = myDataSet.Tables("phldetail").Rows(0).Item("columnname").ToString()
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.