count no of rows in asp:gridview [Resolved]

Posted by Kannan1986 under ASP.NET on 3/2/2010 | Views : 18604 | Status : [Member] | Replies : 3
Hi All,

How do calculate number of rows in asp:gridview




Responses

Posted by: Sagarp on: 3/2/2010 [Member] Bronze

Up
0
Down

Resolved
Hi
check links

http://aspalliance.com/782

http://www.jigar.net/howdoi/viewhtmlcontent195.aspx


at last link u see live demo

Thanks
SagarP
http://www.emanonsolutions.net
http://emanonsolutions.blogspot.com/

Kannan1986, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Kannan1986 on: 3/2/2010 [Member] Starter

Up
0
Down
Thanks....

Kannan1986, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Kannan1986 on: 3/2/2010 [Member] Starter

Up
0
Down
we can use ...

lbl.Text = Gridview1.Rows.Count.ToString();

Kannan1986, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response