Thursday, February 5, 2015

asp.net get item from listitemcollection

 performancetemplatedata.TemplateName = (oPMDataItems[0][Constant.PerformanceTemplateData.TemplateName.ToString()]).ToString();
                performancetemplatedata.Designation = (oPMDataItems[0][Constant.PerformanceTemplateData.PositionID.ToString()] as FieldLookupValue).LookupValue;
                performancetemplatedata.PositionID = (oPMDataItems[0][Constant.PerformanceTemplateData.PositionID.ToString()] as FieldLookupValue).LookupId;

No comments:

Post a Comment