|
-
Jul 25th, 2007, 07:45 PM
#1
Thread Starter
Addicted Member
Recordcount in ASP
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
-
Jul 27th, 2007, 12:48 AM
#2
Re: Recordcount in ASP
Use a dataset to retrieve your data, then count its rows.
DataSet1.Tables(0).Rows.Count
-
Jul 29th, 2007, 08:35 PM
#3
Thread Starter
Addicted Member
Re: Recordcount in ASP
Thanks for the reply ... can you post an example.
-
Jul 30th, 2007, 07:21 AM
#4
Re: Recordcount in ASP
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.
-
Sep 3rd, 2007, 04:47 AM
#5
Thread Starter
Addicted Member
Re: Recordcount in ASP
 Originally Posted by mendhak
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
-
Sep 4th, 2007, 03:40 PM
#6
Re: Recordcount in ASP
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.
-
Sep 8th, 2007, 01:31 AM
#7
Fanatic Member
Re: Recordcount in ASP
bwahahahahaha VB6 and VB.NET share in common is a two letters "VB"
I AGREE!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|