Microsoft
Software
Hardware
Network
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(strUser
Name, 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]["Peop
leID"].ToS
tring()
Random Solutions
getting file versions
sharing open ports in c#
How to call more than one function in a procedure
Pass more then 1 value to ConverterParameter\Binding<wbr />Item
I need to send a form feed to printer (VB.NET & ASP.NET)
asp.net ..for loop - limit to reading first row of DataRow in dtVolumeOrder.Rows()
Datagrid columns are jumbled up when there are no rows (ASP.NET C#)
"Insert" query in VBA not working with SQL Server
Hide background Image
Using Template Files and SendObject in a Macro