string str = DataTable.Rows[行][列].ToString(); string str = DataGridView.Rows[行].Cells[列].Value.ToString();