AspdotnetCodes.com
US and UK Data Centers – DiscountASP.NET
 
Articles Subscribe for our Articles Updates
Books
Resources
Downloads
Free Tech Magazines
Archives
Softwares
Newsletter
Suggest Us
Link to Us
 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 Answer Post New Question

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

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

int totalRows = GridView1.Rows.Count;
 
Sponsored by