dataGrid里面怎么得到第一行第一列的数据啊???高手请进解答??万分的感谢!!

解决方案 »

  1.   

    什么第一行第一列 是从数据库读取第一行第一列?可以用DataReader读取一行数据
      

  2.   

    不是啊
    是从数据读取数据到dataGrid
    现在怎么从dataGrid中选择第一行第一列啊大哥大姐帮帮忙啊
      

  3.   

    string 你想要的 = this.Datagrid1 .Items[0].Cells[0].Text; //接分!
      

  4.   

    string  行=0,列=0;string 你想要的 = this.Datagrid1 .Items[行].Cells[列].Text; 
    //接分!
      

  5.   

    Datagrid1 .Items没有这个属性啊你试试看啊我这里没有啊
    给个正确的解答啦谢谢各位
      

  6.   

    winform:
      this.datagrid1[1,1].tostring()
      

  7.   

    dataGridView1.Rows[i].Cells[j].Value.ToString()
      

  8.   

    dataGridView1.Rows[i].Cells[j].Value.ToString()
    i行,j列