e.CommandArgument // e是包含事件信息的参数,这里的e.CommandArgument应该是行的索引信息
this.GridView1.Rows[i].Cells[j].Text  //取GridView某行某列的文本

解决方案 »

  1.   

    获取e.CommandArgument行1列的数据
      

  2.   

    e.CommandArgument // e是包含事件信息的参数,这里的e.CommandArgument应该是行的索引信息 
    this.GridView1.Rows[i].Cells[j].Text  //取GridView某行某列的文本
    详细
      

  3.   

    学到东西了。。this.Label2.Text   =   ((Literal)this.GridView1.Rows[0].FindControl( "x ")).Text; 
    这句。什么意思?
      

  4.   


    应该是获取GridView1第1行控件名为x的文本值然后把值赋给label2