for (int i = 0; i < gListDynamicControls.Count; i++) { DynaControlsPL objDFPropTemp = (DynaControlsPL)gListDynamicControls[i]; if (dsCategoryMasterData.Tables[0].Rows.Count > 0) { if (!dsCategoryMasterData.Tables[0].Rows[0].IsNull(objDFPropTemp.dfFieldName))//in this line am getting error objDFPropTemp.dfFieldValue = dsCategoryMasterData.Tables[0].Rows[0][objDFPropTemp.dfFieldName]; else objDFPropTemp.dfFieldValue = null; }
objDFPropTemp.dfFieldName
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)