M
Morten
Hi.
I have just began to use vb.net/ asp.net.
Now I am trying to undertand ado.net and use of it.
The datagrid it seems I got right but how do I "fill" e.g. a label.
Previous I dis label.caption= rs!something.
Now I have
Dim custNmAdapter As New OleDb.OleDbDataAdapter("SELECT Nm from myTable
where id=1")
Dim dsCustNm As DataSet = New DataSet()
custNmAdapter.Fill(dsCustNm, "Intelle_CustNm")
So if anyone please could show me how I can get data into my label I would
be fextreamly happy.
label.text=???
Thanks
Morten
I have just began to use vb.net/ asp.net.
Now I am trying to undertand ado.net and use of it.
The datagrid it seems I got right but how do I "fill" e.g. a label.
Previous I dis label.caption= rs!something.
Now I have
Dim custNmAdapter As New OleDb.OleDbDataAdapter("SELECT Nm from myTable
where id=1")
Dim dsCustNm As DataSet = New DataSet()
custNmAdapter.Fill(dsCustNm, "Intelle_CustNm")
So if anyone please could show me how I can get data into my label I would
be fextreamly happy.
label.text=???
Thanks
Morten