int index=Convert.Toint16(e.CommandArgument); GridViewRow gr=this.Griwview1.Rows[index]; TableCell tc1= gr.Cells[0];TableCell tc2= gr.Cells[2];ListBox1.Item.Add(tc1) ;
我一般是用这个代码gridview1.selectedrow.cells(1).text