var rows = ultraGrid1.Selected.Rows; if (rows.Count == 1) { string guid = rows[0].Cells["Id"].Value.ToString(); } 获取选中行 并获取id