private void gridView3_RowClick(object sender, DevExpress.XtraGrid.Views.Grid.RowClickEventArgs e)
{
int selectRow = gridView3.GetSelectedRows()[0];//选择行号
string colorId = this.gridView3.GetRowCellValue(selectRow, "colorId").ToString();//获取选中行中列colorId的数据
string pantoneNum = this.gridView3.GetRowCellValue(selectRow, "pantoneNum") == null ? "" : this.gridView3.GetRowCellValue(selectRow, "pantoneNum").ToString();
string colorCN = this.gridView3.GetRowCellValue(selectRow, "colorCN")==null?"":this.gridView3.GetRowCellValue(selectRow, "colorCN").ToString();
colorInfoTxt.Text += b;
colorIdLab.Text += c;
}
{
int selectRow = gridView3.GetSelectedRows()[0];//选择行号
string colorId = this.gridView3.GetRowCellValue(selectRow, "colorId").ToString();//获取选中行中列colorId的数据
string pantoneNum = this.gridView3.GetRowCellValue(selectRow, "pantoneNum") == null ? "" : this.gridView3.GetRowCellValue(selectRow, "pantoneNum").ToString();
string colorCN = this.gridView3.GetRowCellValue(selectRow, "colorCN")==null?"":this.gridView3.GetRowCellValue(selectRow, "colorCN").ToString();
colorInfoTxt.Text += b;
colorIdLab.Text += c;
}