Hi there,
I'm trying to create a simple login page with a typical username and password. BUt I can't seem to find the recordcount function in asp.net. Is there any alternative for this one. Thanks
Printable View
Hi there,
I'm trying to create a simple login page with a typical username and password. BUt I can't seem to find the recordcount function in asp.net. Is there any alternative for this one. Thanks
Use a dataset to retrieve your data, then count its rows.
DataSet1.Tables(0).Rows.Count
Thanks for the reply ... can you post an example.
I think the best route for you is to go through an ADO.NET Tutorial.
Once you do that (it won't take long), you will figure out how to populate a dataset. Understanding how to do that is vital for your own future. :)
After that you can use the code I showed above to get a recordcount.
Thanks I just did that ... It's a bit different than VB. Thanks for helping us noobs :)Quote:
Originally Posted by mendhak
Yeah, the only thing VB6 and VB.NET share in common is a two letters and a common syntax, but the framework is relatively new.
bwahahahahaha VB6 and VB.NET share in common is a two letters "VB"
I AGREE!