AspdotnetCodes.com
Search
Articles
Books
Resources
Asp.Net News
Downloads
Free Tech Magazines
Asp.Net Web Hosting
Archives
Softwares
Newsletter
Suggest Us
Link to Us
Feeds Subscription
Articles
Questions & Answers
Tips & Tricks
 gridview count
Posted by sreekumark on  2/14/2008 6:29:13 AM Category: ADO.NET
Add to my favorites
Email to friend
asp.net(c#) 2005
i have to get the gridview rows count in a column.any body help?

Post Your Reply Post New Question

 Viewer's Reply
To get GridViews Row Count
Answered By Moderator1 on 2/15/2008 7:48:14 PM
Use

int RowCount=GridView1.Rows.Count;
 
GridViews Row Count
Answered By Kavita Tilloo on 5/27/2008 10:53:46 AM
You can use:

int totalRows = GridView1.Rows.Count;
 
Post Your Reply If you still have problem, post it again under this reply for better response.

 
Sponsored by
SearchSAP
The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks - Free 158 Page Preview
Simply JavaScript - Free 150 Page Preview!