public static StringBuilder GetValue(Dictionary <string, object> _valueDataRecorded) { StringBuilder _str = new StringBuilder(); Dictionary <string, object> _dataRecorded = (_valueDataRecorded != null ? (Dictionary <string, object>)_valueDataRecorded["DataRecorded" + SCHUtil.SUBJECT_IMPORTREGISTERSCHOLARSHIPSTUDENTCV] : null); _str.AppendFormat("<input class='studentpicture-hidden' type='hidden' value='{0}' />", (_dataRecorded != null ? SCHUtil.GetValueDataDictionary(_dataRecorded, "StudentPicture", _dataRecorded["StudentPicture"], "") : "")); return(_str); }
public static StringBuilder GetValue(Dictionary <string, object> _valueDataRecorded) { StringBuilder _str = new StringBuilder(); Dictionary <string, object> _dataRecorded = (_valueDataRecorded != null ? (Dictionary <string, object>)_valueDataRecorded["DataRecorded" + SCHUtil.SUBJECT_SCHOLARSHIP] : null); _str.AppendFormat("<input type='hidden' id='{0}-id-hidden' value='{1}' />", _idContent, (_dataRecorded != null ? SCHUtil.GetValueDataDictionary(_dataRecorded, "Id", _dataRecorded["Id"], "") : "")); _str.AppendFormat("<input type='hidden' id='{0}-scholarshipsnameth-hidden' value='{1}' />", _idContent, (_dataRecorded != null ? SCHUtil.GetValueDataDictionary(_dataRecorded, "ScholarshipsNameTH", _dataRecorded["ScholarshipsNameTH"], "") : "")); _str.AppendFormat("<input type='hidden' id='{0}-scholarshipsnameen-hidden' value='{1}' />", _idContent, (_dataRecorded != null ? SCHUtil.GetValueDataDictionary(_dataRecorded, "ScholarshipsNameEN", _dataRecorded["ScholarshipsNameEN"], "") : "")); _str.AppendFormat("<input type='hidden' id='{0}-scholarshipstype-hidden' value='{1}' />", _idContent, (_dataRecorded != null ? SCHUtil.GetValueDataDictionary(_dataRecorded, "ScholarshipsTypeId", _dataRecorded["ScholarshipsTypeId"], "") : "")); _str.AppendFormat("<input type='hidden' id='{0}-scholarshipstypegroup-hidden' value='{1}' />", _idContent, (_dataRecorded != null ? SCHUtil.GetValueDataDictionary(_dataRecorded, "ScholarshipsTypeGroup", _dataRecorded["ScholarshipsTypeGroup"], "") : "")); _str.AppendFormat("<input type='hidden' id='{0}-owner-hidden' value='{1}' />", _idContent, (_dataRecorded != null ? SCHUtil.GetValueDataDictionary(_dataRecorded, "Owner", _dataRecorded["Owner"], "") : "")); _str.AppendFormat("<input type='hidden' id='{0}-approvalstatus-hidden' value='{1}' />", _idContent, (_dataRecorded != null ? SCHUtil.GetValueDataDictionary(_dataRecorded, "ApprovalStatus", _dataRecorded["ApprovalStatus"], "Y") : "Y")); return(_str); }