private void BindDataSource() { string sPath = FileManage.getApplicatonPath() + "cropcode.xml"; DataTable dt = XmlManage.getCropCodeFromXml(sPath); gridControl1.DataSource = dt; }