Nov 20, 2008, 7:40 AM
creating particular rows object in gridpanel
Hi
I have bind 20 rows in gridpanel. After that i want to create object for particular rows in a cells. In asp.net there is an option for creating object for particular rows.
For example: (ASP.NET)
label cid = (Label)gridview1.row[0][0].findcontrol("Label1");
label cid1 = (Label)gridview1.row[1][0].findcontrol("Label1");
label cid2 = (Label)gridview1.row[2][0].findcontrol("Label1");
label cid3 = (Label)gridview1.row[3][0].findcontrol("Label1");
cid is for object of gridview first row and first cell.
cid1 is for object of gridview second row and first cell.
cid2 is for object of gridview third row and first cell.
cid3 is for object of gridview fourth row and first cell.
Thanks Madan