各位高手快出现吧

解决方案 »

  1.   

    古老的问题
    dataGrid1[dataGrid1.CurrentCell].ToString()
      

  2.   

    楼上的手真快,就是这样的
    dataGrid1[dataGrid1.CurrentCell].ToString()
      

  3.   

    那么怎么样设置一个cell中的值了?
    dataGrid1[1,3] = 15;
    这样可以么
      

  4.   

    准确的说用dataGrid1[dataGrid1.CurrentCell].ToString()方法是对的,但是最好先判断dataGrid1[dataGrid1.CurrentCell] !=  null才行  dataGrid1[1,3] = 15;是对的
      

  5.   

    更多的看这里
    http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx