*****解決gridControl lookupedit click時為空的問題

private void repositoryItemLookUpEdit1_Click(object sender, EventArgs e)
        {
            if (gridView1.ActiveEditor.EditValue.ToString()=="System.Object")
            {
                int selectRow = gridView1.GetSelectedRows()[0];
                DataRow dr = dsSysusera.Tables[AaaTableName].Rows[selectRow];
                string svalue = dr["module"].ToString();
                gridView1.ActiveEditor.EditValue = svalue;
            }
        }
原文地址:https://www.cnblogs.com/luoyaoquan/p/2212923.html