winform:某行某列的值:获得行索引int i = this.datagrid.CurrentRowIndex;用索引获得某列值string str = this.datagrid[i,3].ToString();webform:string str =DataGrid1.SelectedItem.Cells[0].Text;