Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get recordcount

Status
Not open for further replies.

kindicheema

Programmer
Jun 21, 2006
6
GB
Hi

Using VB with ASP.Net, how can i get the recordcount of my sqldatasource and/or datagrid

Thanks
Kindi
 
there are many ways
1. count the rows in the database
2. count the rows in the datatable/list<>
3. count the rows in the gridview

that fact that your post is so basic and there are many posts on how to do this (both tek-tips and the web) suggest you didn't spend anytime researching the topic.

I'm not saying that's what you did/didn't do, but it presents itself that way.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top