With this code (dataset.tables(x).rows.count), I get a
task error:
Property access must assign to the property or use its
value.
I pasted the code below to be a reference.
Elena
strsql = "Select * from Action where item_identifier = " &
Val(TextBox5.Text) & " order by action_identifier"
' Create data adapter object
Dim daID As OleDbDataAdapter = New OleDbDataAdapter
(strsql, CriticalParts.conn)
' Create a dataset object and fill with data using data
adapter's Fill method
Dim dsID As DataSet = New DataSet
daID.Fill(dsID, "Action")
dsID.Tables(1).Rows.Count()
-----Original Message-----
dataset.tables(x).rows.count
"> In VB6, I could count the number of records in a
recordset
using recordcount.
Is there an equivalent in VB.NET, to be able to count
the rows in a Data Set?
.