April 18th, 2004, 03:54 PM
Counting Total Records In A DataTable
I'm not an ASP.NET guy, so this is a total newbie question.
I've connected to my Access file
I've managed to get it to spit out records.
I'm trying to find a property that tells me how many records are stored in a DataTable object.
I've tried comparing the Rows property to null, but that doesn't work. I'm hesitant to try looping through each record and then adding them all up.
April 18th, 2004, 04:01 PM
Dim recordCount As Integer
recordCount = DataTable.Rows.Count
April 18th, 2004, 04:04 PM