private void uGridData_DoubleClickCell(object sender, DoubleClickCellEventArgs e) { uGridData.ActiveRow.Selected = true; if (uGridData.ActiveRow.Index == -1) { return; } lblScr.Text = ""; lblOpt.Text = "当前操作:"; strOptNo = uGridData.ActiveRow.Cells["FS_STOVENO"].Value.ToString(); lblOpt.Text += strOptNo; lblScr.Text = "上传日志:" + sapClass.showSapLog(strOptNo); }