最好是双击行时,得到选择行的所有内容
最是菜鸟,最好能给个源码来

解决方案 »

  1.   

      private void DG_List_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
            {
                if (e.RowIndex != -1 && e.ColumnIndex == 0)
                {
                    for (int iCount = 0; iCount < DG_List .Rows [e.RowIndex ]; iCount++)
                    {
                        DG_List .Rows [e.RowIndex ].Cells [iCount ].Value 
                    }
                }
            }