I have problem in gridview

Posted by Nuwan under ASP.NET on 5/9/2012 | Points: 10 | Views : 747 | Status : [Member] | Replies : 2
Dear All,

I want to I get a I selected row count value Display in Label .
how i do that. Please help me.

Rathnayake


Responses

Posted by: Sekar.C on: 5/9/2012 [Member] Starter | Points: 25

Up
0
Down
Label1.Text = Gridview1.SelectedRow.Cells[1].Text;


Regards
Sekar.c

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

Posted by: Ajay.Kalol on: 5/9/2012 [Member] Starter | Points: 25

Up
0
Down
Label1.Text = ((controlType)(Gridview1.SelectedRow.FindControl("ControlID"))) .Text;

Ajay
ajaypatelfromsanthal.blogspot.in

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

Login to post response