Question : Data Set Extract

The code below returns 1 row of data every time...
I can output to the grid fine...
But what I really need to do is to set a label to the value from a column named "PeopleID"

example
label1.text = dR("peopleID")

Following code DOES dump all the returned data in the GridView
Dim ds As New DataSet
        ds = ServiceRef.wmLogin(strUserName, strUserPassword, i, strParam1, strParam2, "", "")

        grid1.DataSource = ds
        grid1.DataBind()

Answer : Data Set Extract

HI,

Just try the following:

label1.Text = ds.Tables[0].Rows[0]["PeopleID"].ToString()
Random Solutions  
 
programming4us programming4us