public static StringBuilder GetMain()
        {
            StringBuilder _str = new StringBuilder();

            _str.AppendLine("<div class='paddingTop10'>");
            _str.AppendLine("   <div class='ui form blue inverted segment'>");
            _str.AppendLine("       <div class='ui left floated header'>");
            _str.AppendLine("           <span class='lang lang-th f9 font-th regular white'>ค้นหา</span>");
            _str.AppendLine("           <span class='lang lang-en f9 font-en regular white'>Search</span>");
            _str.AppendLine("       </div>");
            _str.AppendLine("       <div class='ui right floated header'>");
            _str.AppendFormat("         <i class='minus square icon link btnshrink font-th regular white' alt='{0}'></i>", _idContent);
            _str.AppendLine("       </div>");
            _str.AppendLine("       <div class='ui header'></div>");
            _str.AppendLine("       <div class='paddingTop5 panel-bodys'>");
            _str.AppendLine("           <div class='ui inverted dividing header'></div>");
            _str.AppendLine("           <div class='panel-body'>");
            _str.AppendLine("               <div class='two fields'>");
            _str.AppendLine("                   <div class='eight wide field'>");
            _str.AppendLine("                       <label>");
            _str.AppendLine("                           <span class='lang lang-th f10 font-th regular white'>คณะ</span>");
            _str.AppendLine("                           <span class='lang lang-en f10 font-en regular white'>Faculty</span>");
            _str.AppendLine("                       </label>");
            _str.AppendLine(SCHUI.DDLFaculty(_idContent + "-faculty").ToString());
            _str.AppendLine("                   </div>");
            _str.AppendLine("                   <div class='eight wide field'>");
            _str.AppendLine("                       <label>");
            _str.AppendLine("                           <span class='lang lang-th f10 font-th regular white'>หลักสูตร</span>");
            _str.AppendLine("                           <span class='lang lang-en f10 font-en regular white'>Program</span>");
            _str.AppendLine("                       </label>");
            _str.AppendFormat("                     <div id='{0}-program-dropdown'>{1}</div>", _idContent, SCHUI.DDLProgram((_idContent + "-program"), "", ""));
            _str.AppendLine("                   </div>");
            _str.AppendLine("               </div>");
            _str.AppendLine("               <div class='two fields'>");
            _str.AppendLine("                   <div class='eight wide field'>");
            _str.AppendLine("                       <label>");
            _str.AppendLine("                           <span class='lang lang-th f10 font-th regular white'>ปีที่เข้าศึกษา</span>");
            _str.AppendLine("                           <span class='lang lang-en f10 font-en regular white'>Entries Year</span>");
            _str.AppendLine("                       </label>");
            _str.AppendLine(SCHUI.DDLYearEntry(_idContent + "-yearentry").ToString());
            _str.AppendLine("                   </div>");
            _str.AppendLine("                   <div class='eight wide field hide'>");
            _str.AppendLine("                   </div>");
            _str.AppendLine("               </div>");
            _str.AppendLine("               <div class='field'>");
            _str.AppendFormat("                 <div class='ui fluid button inverted blue' id='{0}-btnsearch'>", _idContent);
            _str.AppendLine("                       <i class='search icon font-th regular white'></i>");
            _str.AppendLine("                       <span class='lang lang-th f9 font-th regular white'>ค้นหา</span>");
            _str.AppendLine("                       <span class='lang lang-en f9 font-en regular white'>Search</span>");
            _str.AppendLine("                   </div>");
            _str.AppendLine("               </div>");
            _str.AppendLine("           </div>");
            _str.AppendLine("       </div>");
            _str.AppendLine("   </div>");
            _str.AppendLine("</div>");

            return(_str);
        }
예제 #2
0
        public static StringBuilder GetMain()
        {
            StringBuilder _str = new StringBuilder();

            _str.AppendLine("<div class='paddingTop10'>");
            _str.AppendLine("   <div class='ui form blue inverted segment'>");
            _str.AppendLine("       <div class='ui left floated header'>");
            _str.AppendLine("           <span class='lang lang-th f9 font-th regular white'>ค้นหา</span>");
            _str.AppendLine("           <span class='lang lang-en f9 font-en regular white'>Search</span>");
            _str.AppendLine("       </div>");
            _str.AppendLine("       <div class='ui right floated header'>");
            _str.AppendFormat("         <i class='minus square icon link btnshrink font-th regular white' alt='{0}'></i>", _idContent);
            _str.AppendLine("       </div>");
            _str.AppendLine("       <div class='ui header'></div>");
            _str.AppendLine("       <div class='paddingTop5 panel-bodys'>");
            _str.AppendLine("           <div class='ui inverted dividing header'></div>");
            _str.AppendLine("           <div class='panel-body'>");
            _str.AppendLine("               <div class='fields'>");
            _str.AppendLine("                   <div class='sixteen wide field'>");
            _str.AppendLine("                       <label>");
            _str.AppendLine("                           <span class='lang lang-th f10 font-th regular white'>ประเภททุน</span>");
            _str.AppendLine("                           <span class='lang lang-en f10 font-en regular white'>Type Scholarship</span>");
            _str.AppendLine("                       </label>");
            _str.AppendLine(SCHUI.DDLScholarshipsType(_idContent + "-scholarshipstype").ToString());
            _str.AppendLine("                   </div>");
            _str.AppendLine("               </div>");
            _str.AppendLine("               <div class='field'>");
            _str.AppendFormat("                 <div class='ui fluid button inverted blue' id='{0}-btnsearch'>", _idContent);
            _str.AppendLine("                       <i class='search icon font-th regular white'></i>");
            _str.AppendLine("                       <span class='lang lang-th f9 font-th regular white'>ค้นหา</span>");
            _str.AppendLine("                       <span class='lang lang-en f9 font-en regular white'>Search</span>");
            _str.AppendLine("                   </div>");
            _str.AppendLine("               </div>");
            _str.AppendLine("           </div>");
            _str.AppendLine("       </div>");
            _str.AppendLine("   </div>");
            _str.AppendLine("</div>");

            return(_str);
        }
예제 #3
0
        public static StringBuilder GetMain(string _page, string _id)
        {
            StringBuilder _str = new StringBuilder();
            Dictionary <string, object> _valueDataRecorded = SCHUtil.SetValueDataRecorded(_page, _id, null);
            string _titleTH    = String.Empty;
            string _titleEN    = String.Empty;
            string _background = String.Empty;

            if (_page.Equals(SCHUtil.PAGE_SCHOLARSHIP_ADD))
            {
                _titleTH    = "เพิ่ม";
                _titleEN    = "Add";
                _background = "green";
            }

            if (_page.Equals(SCHUtil.PAGE_SCHOLARSHIP_UPDATE))
            {
                _titleTH    = "แก้ไข";
                _titleEN    = "Edit";
                _background = "orange";
            }

            _str.AppendLine("<div class='paddingTop10'>");
            _str.AppendLine(GetValue(_valueDataRecorded).ToString());
            _str.AppendFormat(" <div class='ui form {0} inverted segment'>", _background);
            _str.AppendLine("       <div class='ui left floated header'>");
            _str.AppendFormat("         <span class='lang lang-th f9 font-th regular white'>{0}ทุน</span>", _titleTH);
            _str.AppendFormat("         <span class='lang lang-en f9 font-en regular white'>{0} Scholarship</span>", _titleEN);
            _str.AppendLine("       </div>");
            _str.AppendLine("       <div class='ui right floated header'>");
            _str.AppendLine("           <i class='close icon link font-th regular white btnclose'></i>");
            _str.AppendLine("       </div>");
            _str.AppendLine("       <div class='ui header'></div>");
            _str.AppendLine("       <div class='paddingTop5 panel-bodys'>");
            _str.AppendLine("           <div class='ui inverted dividing header'></div>");
            _str.AppendLine("           <div class='panel-body'>");
            _str.AppendLine("               <div class='two fields'>");
            _str.AppendLine("                   <div class='field'>");
            _str.AppendLine("                       <label>");
            _str.AppendLine("                           <span class='lang lang-th f10 font-th regular white'>ชื่อทุนภาษาไทย</span>");
            _str.AppendLine("                           <span class='lang lang-en f10 font-en regular white'>Scholarship Thai Name</span>");
            _str.AppendLine("                       </label>");
            _str.AppendFormat("                     <input id='{0}-scholarshipsnameth' type='text' placeholder='' placeholderth='' placeholderen='' value='' />", _idContent);
            _str.AppendLine("                   </div>");
            _str.AppendLine("                   <div class='field'>");
            _str.AppendLine("                       <label>");
            _str.AppendLine("                           <span class='lang lang-th f10 font-th regular white'>ชื่อทุนภาษาอังกฤษ</span>");
            _str.AppendLine("                           <span class='lang lang-en f10 font-en regular white'>Scholarship English Name</span>");
            _str.AppendLine("                       </label>");
            _str.AppendFormat("                     <input id='{0}-scholarshipsnameen' type='text' placeholder='' placeholderth='' placeholderen='' value='' />", _idContent);
            _str.AppendLine("                   </div>");
            _str.AppendLine("               </div>");
            _str.AppendLine("               <div class='two fields'>");
            _str.AppendLine("                   <div class='field'>");
            _str.AppendLine("                       <label>");
            _str.AppendLine("                           <span class='lang lang-th f10 font-th regular white'>ประเภททุน</span>");
            _str.AppendLine("                           <span class='lang lang-en f10 font-en regular white'>Type Scholarship</span>");
            _str.AppendLine("                       </label>");
            _str.AppendLine(SCHUI.DDLScholarshipsType(_idContent + "-scholarshipstype").ToString());
            _str.AppendLine("                   </div>");
            _str.AppendLine("                   <div class='field'>");
            _str.AppendLine("                       <label>");
            _str.AppendLine("                           <span class='lang lang-th f10 font-th regular white'>เจ้าของทุน</span>");
            _str.AppendLine("                           <span class='lang lang-en f10 font-en regular white'>Scholarship Owner</span>");
            _str.AppendLine("                       </label>");
            _str.AppendFormat("                     <input id='{0}-owner' type='text' maxlength='255' placeholder=''  placeholderth='' placeholderen='' value='' />", _idContent);
            _str.AppendLine("                   </div>");
            _str.AppendLine("               </div>");
            _str.AppendLine("               <div class='field'>");
            _str.AppendFormat("                 <div class='ui button fluid inverted {0}' id='{1}-btnsave' data-options='{2}' alt='{3}'>", _background, _idContent, _id, _page);
            _str.AppendFormat("                     <i class='icon save font-th regular white'></i>");
            _str.AppendLine("                       <span class='lang lang-th f9 font-th regular white'>บันทึก</span>");
            _str.AppendLine("                       <span class='lang lang-en f9 font-en regular white'>Save</span>");
            _str.AppendLine("                   </div>");
            _str.AppendLine("               </div>");
            _str.AppendLine("           </div>");
            _str.AppendLine("       </div>");
            _str.AppendLine("   </div>");
            _str.AppendLine("</div>");

            return(_str);
        }
예제 #4
0
    protected void Page_Load(object sender, EventArgs e)
    {
        followingmenu.InnerHtml = SCHUI.GetFollowingMenu().ToString();
        header.InnerHtml        = SCHUI.GetHeader().ToString();
        sidebarmenu.InnerHtml   = SCHUI.GetSideBarMenu().ToString();
        userprofile.InnerHtml   = SCHUI.GetUserProfile().ToString();
        footer.InnerHtml        = SCHUI.GetFooter().ToString();

        /*
         * DataSet _ds = SCHDB.ExecuteCommandStoredProcedure("sp_schGetListStudentWithAuthenStaff",
         *  new SqlParameter("@username",       "saowaluk.sor"),
         *  new SqlParameter("@userlevel",      "Admin"),
         *  new SqlParameter("@systemGroup",    "MUScholarship"),
         *  new SqlParameter("@keyword",        "5601033"),
         *  new SqlParameter("@facultyId",      ""),
         *  new SqlParameter("@programId",      ""),
         *  new SqlParameter("@yearEntry",      ""));
         *
         * DataRow _dr = _ds.Tables[0].Rows[0];
         *
         * Response.Write(_dr["numberScholar"]);
         *
         * _ds.Dispose();
         */
        /*
         * Dictionary<string, object> _searchResult = new Dictionary<string, object>();
         * Dictionary<string, object> _paramSearch = new Dictionary<string, object>();
         * _paramSearch.Add("Keyword",     "5601033");
         * _paramSearch.Add("FacultyId",   "");
         * _paramSearch.Add("ProgramId",   "");
         * _paramSearch.Add("YearEntry",   "");
         * _paramSearch.Add("CurrentPage", 1);
         * _paramSearch.Add("StartRow",    1);
         * _paramSearch.Add("EndRow",      50);
         * _paramSearch.Add("RowPerPage",  50);
         *
         * _searchResult = SCHRegisterScholarshipUtil.GetSearch(_paramSearch);
         * Response.Write(_searchResult["RecordCountPrimary"]);
         */
        /*
         * StringBuilder _cookieValue = new StringBuilder();
         *
         * _cookieValue.AppendFormat("result:{0}", "60@#@117@#@115@#@101@#@114@#@62@#@60@#@117@#@105@#@100@#@62@#@50@#@53@#@51@#@49@#@51@#@55@#@51@#@55@#@52@#@51@#@51@#@52@#@55@#@53@#@48@#@60@#@47@#@117@#@105@#@100@#@62@#@60@#@117@#@115@#@101@#@114@#@116@#@121@#@112@#@101@#@62@#@115@#@116@#@97@#@102@#@102@#@60@#@47@#@117@#@115@#@101@#@114@#@116@#@121@#@112@#@101@#@62@#@60@#@102@#@117@#@108@#@108@#@110@#@97@#@109@#@101@#@101@#@110@#@62@#@83@#@97@#@111@#@119@#@97@#@108@#@117@#@107@#@32@#@83@#@111@#@114@#@110@#@99@#@104@#@97@#@105@#@60@#@47@#@102@#@117@#@108@#@108@#@110@#@97@#@109@#@101@#@101@#@110@#@62@#@60@#@102@#@117@#@108@#@108@#@110@#@97@#@109@#@101@#@116@#@104@#@62@#@224@#@202@#@210@#@199@#@197@#@209@#@161@#@201@#@179@#@236@#@32@#@200@#@195@#@228@#@170@#@194@#@60@#@47@#@102@#@117@#@108@#@108@#@110@#@97@#@109@#@101@#@116@#@104@#@62@#@60@#@100@#@101@#@112@#@99@#@111@#@100@#@101@#@62@#@79@#@80@#@73@#@84@#@68@#@65@#@60@#@47@#@100@#@101@#@112@#@99@#@111@#@100@#@101@#@62@#@60@#@109@#@97@#@105@#@108@#@97@#@100@#@100@#@114@#@101@#@115@#@115@#@62@#@111@#@112@#@115@#@115@#@104@#@64@#@109@#@97@#@104@#@105@#@100@#@111@#@108@#@46@#@97@#@99@#@46@#@116@#@104@#@115@#@97@#@111@#@119@#@97@#@108@#@117@#@107@#@46@#@115@#@111@#@114@#@64@#@109@#@97@#@104@#@105@#@100@#@111@#@108@#@46@#@97@#@99@#@46@#@116@#@104@#@60@#@47@#@109@#@97@#@105@#@108@#@97@#@100@#@100@#@114@#@101@#@115@#@115@#@62@#@60@#@97@#@117@#@116@#@104@#@101@#@110@#@62@#@116@#@114@#@117@#@101@#@60@#@47@#@97@#@117@#@116@#@104@#@101@#@110@#@62@#@60@#@109@#@115@#@103@#@62@#@65@#@117@#@116@#@104@#@101@#@110@#@116@#@105@#@99@#@97@#@116@#@105@#@111@#@110@#@32@#@83@#@117@#@99@#@99@#@101@#@115@#@115@#@60@#@47@#@109@#@115@#@103@#@62@#@60@#@117@#@115@#@101@#@114@#@110@#@97@#@109@#@101@#@62@#@115@#@97@#@111@#@119@#@97@#@108@#@117@#@107@#@46@#@115@#@111@#@114@#@60@#@47@#@117@#@115@#@101@#@114@#@110@#@97@#@109@#@101@#@62@#@60@#@115@#@116@#@117@#@100@#@101@#@110@#@116@#@105@#@100@#@62@#@60@#@47@#@115@#@116@#@117@#@100@#@101@#@110@#@116@#@105@#@100@#@62@#@60@#@115@#@116@#@117@#@100@#@101@#@110@#@116@#@99@#@111@#@100@#@101@#@62@#@115@#@97@#@111@#@119@#@97@#@108@#@117@#@107@#@46@#@115@#@111@#@114@#@60@#@47@#@115@#@116@#@117@#@100@#@101@#@110@#@116@#@99@#@111@#@100@#@101@#@62@#@60@#@109@#@105@#@115@#@115@#@112@#@97@#@115@#@115@#@119@#@111@#@114@#@100@#@62@#@60@#@47@#@109@#@105@#@115@#@115@#@112@#@97@#@115@#@115@#@119@#@111@#@114@#@100@#@62@#@60@#@47@#@117@#@115@#@101@#@114@#@62@#@");
         * SCHUtil.SetAddCookie("STAFF", _cookieValue);
         */
        //5801001

        /*_cookieValue.AppendFormat("result:{0}", "60@#@117@#@115@#@101@#@114@#@62@#@60@#@117@#@105@#@100@#@62@#@50@#@53@#@53@#@56@#@48@#@48@#@48@#@51@#@57@#@49@#@60@#@47@#@117@#@105@#@100@#@62@#@60@#@117@#@115@#@101@#@114@#@116@#@121@#@112@#@101@#@62@#@83@#@84@#@85@#@68@#@69@#@78@#@84@#@60@#@47@#@117@#@115@#@101@#@114@#@116@#@121@#@112@#@101@#@62@#@60@#@102@#@117@#@108@#@108@#@110@#@97@#@109@#@101@#@101@#@110@#@62@#@75@#@82@#@73@#@84@#@84@#@65@#@80@#@65@#@83@#@32@#@66@#@85@#@65@#@74@#@69@#@69@#@80@#@60@#@47@#@102@#@117@#@108@#@108@#@110@#@97@#@109@#@101@#@101@#@110@#@62@#@60@#@102@#@117@#@108@#@108@#@110@#@97@#@109@#@101@#@116@#@104@#@62@#@161@#@196@#@181@#@192@#@210@#@202@#@32@#@186@#@209@#@199@#@168@#@213@#@186@#@60@#@47@#@102@#@117@#@108@#@108@#@110@#@97@#@109@#@101@#@116@#@104@#@62@#@60@#@100@#@101@#@112@#@99@#@111@#@100@#@101@#@62@#@83@#@73@#@45@#@48@#@49@#@60@#@47@#@100@#@101@#@112@#@99@#@111@#@100@#@101@#@62@#@60@#@109@#@97@#@105@#@108@#@97@#@100@#@100@#@114@#@101@#@115@#@115@#@62@#@60@#@47@#@109@#@97@#@105@#@108@#@97@#@100@#@100@#@114@#@101@#@115@#@115@#@62@#@60@#@97@#@117@#@116@#@104@#@101@#@110@#@62@#@116@#@114@#@117@#@101@#@60@#@47@#@97@#@117@#@116@#@104@#@101@#@110@#@62@#@60@#@109@#@115@#@103@#@62@#@65@#@117@#@116@#@104@#@101@#@110@#@32@#@83@#@117@#@99@#@99@#@101@#@115@#@115@#@60@#@47@#@109@#@115@#@103@#@62@#@60@#@117@#@115@#@101@#@114@#@110@#@97@#@109@#@101@#@62@#@49@#@49@#@48@#@48@#@56@#@48@#@49@#@49@#@55@#@53@#@52@#@51@#@52@#@60@#@47@#@117@#@115@#@101@#@114@#@110@#@97@#@109@#@101@#@62@#@60@#@115@#@116@#@117@#@100@#@101@#@110@#@116@#@105@#@100@#@62@#@83@#@84@#@68@#@50@#@53@#@53@#@56@#@48@#@48@#@49@#@56@#@52@#@60@#@47@#@115@#@116@#@117@#@100@#@101@#@110@#@116@#@105@#@100@#@62@#@60@#@115@#@116@#@117@#@100@#@101@#@110@#@116@#@99@#@111@#@100@#@101@#@62@#@53@#@56@#@48@#@49@#@48@#@48@#@49@#@60@#@47@#@115@#@116@#@117@#@100@#@101@#@110@#@116@#@99@#@111@#@100@#@101@#@62@#@60@#@109@#@105@#@115@#@115@#@112@#@97@#@115@#@115@#@119@#@111@#@114@#@100@#@62@#@60@#@47@#@109@#@105@#@115@#@115@#@112@#@97@#@115@#@115@#@119@#@111@#@114@#@100@#@62@#@60@#@47@#@117@#@115@#@101@#@114@#@62@#@");
         * NUtil.Util.SetAddCookie("STUDENT", _cookieValue);*/

        /*
         * MemoryStream _ms = new MemoryStream();
         * FileStream _fs = new FileStream((Server.MapPath("~") + "/Test.xlsx"), FileMode.Create, FileAccess.Write);
         * ExcelPackage _pk = new ExcelPackage();
         * ExcelWorksheet _ws = _pk.Workbook.Worksheets.Add("Test");
         *
         * for (int _i = 1; _i <= 1000; _i++)
         * {
         *  _ws.Cells["A" + _i].Value = string.Format("Test{0}", _i);
         * }
         *
         * _pk.SaveAs(_ms);
         * _ms.WriteTo(_fs);
         *
         * _ms.Close();
         * _ms.Dispose();
         * _fs.Close();
         * _fs.Dispose();
         */
    }
        public static StringBuilder GetMain()
        {
            StringBuilder _str = new StringBuilder();

            _str.AppendFormat("<div id='{0}'>", _idContent);
            _str.AppendFormat("     <input type='hidden' id='{0}-saveresult' value=''>", _idContent);
            _str.AppendLine("       <div class='view' >");
            _str.AppendLine("           <div class='iform' >");
            _str.AppendLine("               <div class='iform-row'>");
            _str.AppendLine("                   <div class='col1 iform-col label-col left aligned'>");
            _str.AppendLine("                       <span class='lang lang-th f10 font-th regular black'>บันทึกสมัครรับทุนจำนวน</span>");
            _str.AppendLine("                       <span class='lang lang-en f10 font-en regular black'>Save Total of</span>");
            _str.AppendLine("                   </div>");
            _str.AppendLine("                   <div class='col2 iform-col input-col left aligned paddingLeft10'>");
            _str.AppendLine("                       <span class='lang lang-th f10 font-th regular blue'><span class='total'></span> รายการ</span>");
            _str.AppendLine("                       <span class='lang lang-en f10 font-en regular blue'><span class='total'></span> items</span>");
            _str.AppendLine("                   </div>");
            _str.AppendLine("               </div>");
            _str.AppendLine("               <div class='iform-row'>");
            _str.AppendLine("                   <div class='col1 iform-col label-col left aligned'>");
            _str.AppendLine("                       <span class='lang lang-th f10 font-th regular black'>บันทึกสมัครรับทุนสำเร็จจำนวน</span>");
            _str.AppendLine("                       <span class='lang lang-en f10 font-en regular black'>Save Complete Total of</span>");
            _str.AppendLine("                   </div>");
            _str.AppendLine("                   <div class='col2 iform-col input-col left aligned paddingLeft10'>");
            _str.AppendLine("                       <span class='lang lang-th f10 font-th regular blue'><span class='totalcomplete'></span> <span class='totalunit'>รายการ</span></span>");
            _str.AppendLine("                       <span class='lang lang-en f10 font-en regular blue'><span class='totalcomplete'></span> <span class='totalunit'>items</span></span>");
            _str.AppendLine("                   </div>");
            _str.AppendLine("               </div>");
            _str.AppendLine("               <div class='iform-row'>");
            _str.AppendLine("                   <div class='col1 iform-col label-col left aligned'>");
            _str.AppendLine("                       <span class='lang lang-th f10 font-th regular black'>บันทึกสมัครรับทุนไม่สำเร็จจำนวน</span>");
            _str.AppendLine("                       <span class='lang lang-en f10 font-en regular black'>Save Incomplete Total of</span>");
            _str.AppendLine("                   </div>");
            _str.AppendLine("                   <div class='col2 iform-col input-col left aligned paddingLeft10'>");
            _str.AppendLine("                       <span class='lang lang-th f10 font-th regular blue'><span class='totalincomplete'></span> <span class='totalunit'>รายการ</span></span>");
            _str.AppendLine("                       <span class='lang lang-en f10 font-en regular blue'><span class='totalincomplete'></span> <span class='totalunit'>items</span></span>");
            _str.AppendLine("                   </div>");
            _str.AppendLine("               </div>");
            _str.AppendLine("           </div>");
            _str.AppendLine("       </div>");
            _str.AppendLine("       <div class='ui form'>");
            _str.AppendLine("           <div class='ui dividing header'></div>");
            _str.AppendLine("           <div class='three fields'>");
            _str.AppendLine("               <div class='five wide field'>");
            _str.AppendLine("                   <label>");
            _str.AppendLine("                       <span class='lang lang-th f10 font-th regular black'>ปีที่สมัครรับทุน</span>");
            _str.AppendLine("                       <span class='lang lang-en f10 font-en regular black'>Scholarship Year</span>");
            _str.AppendLine("                   </label>");
            _str.AppendLine(SCHUI.DDLYearEntry(_idContent + "-scholarshipsyear").ToString());
            _str.AppendLine("               </div>");
            _str.AppendLine("               <div class='five wide field'>");
            _str.AppendLine("                   <label>");
            _str.AppendLine("                       <span class='lang lang-th f10 font-th regular black'>ภาคเรียนที่</span>");
            _str.AppendLine("                       <span class='lang lang-en f10 font-en regular black'>Semester</span>");
            _str.AppendLine("                   </label>");
            _str.AppendLine(SCHUI.DDLSemester(_idContent + "-semester").ToString());
            _str.AppendLine("               </div>");
            _str.AppendLine("               <div class='six wide field'>");
            _str.AppendLine("                   <label>");
            _str.AppendLine("                       <span class='lang lang-th f10 font-th regular black'>วันที่สมัครรับทุน</span>");
            _str.AppendLine("                       <span class='lang lang-en f10 font-en regular black'>Register Date</span>");
            _str.AppendLine("                   </label>");
            _str.AppendFormat("                 <div class='ui calendar' id='{0}-registerdate'>", _idContent);
            _str.AppendLine("                       <div class='ui input right icon'>");
            _str.AppendLine("                           <i class='calendar icon'></i>");
            _str.AppendLine("                           <input class='inputcalendar' type='text' placeholder='' placeholderth='' placeholderen='' value='' />");
            _str.AppendLine("                       </div>");
            _str.AppendLine("                   </div>");
            _str.AppendLine("               </div>");
            _str.AppendLine("           </div>");
            _str.AppendLine("           <div class='fields'>");
            _str.AppendLine("               <div class='sixteen wide field'>");
            _str.AppendLine("                   <label>");
            _str.AppendLine("                       <span class='lang lang-th f10 font-th regular black'>สมัครรับทุน</span>");
            _str.AppendLine("                       <span class='lang lang-en f10 font-en regular black'>Scholarship</span>");
            _str.AppendLine("                   </label>");
            _str.AppendLine(SCHUI.DDLScholarships(_idContent + "-scholarships").ToString());
            _str.AppendLine("               </div>");
            _str.AppendLine("           </div>");
            _str.AppendLine("           <div class='fields'>");
            _str.AppendLine("               <div class='sixteen wide field'>");
            _str.AppendLine("                   <label>");
            _str.AppendLine("                       <span class='lang lang-th f10 font-th regular black'>หน่วยงานที่รับผิดขอบ</span>");
            _str.AppendLine("                       <span class='lang lang-en f10 font-en regular black'>Responsible Agency</span>");
            _str.AppendLine("                   </label>");
            _str.AppendFormat("                 <input id='{0}-responsibleagency' type='text' maxlength='255' placeholder=''  placeholderth='' placeholderen='' value='' />", _idContent);
            _str.AppendLine("               </div>");
            _str.AppendLine("           </div>");
            _str.AppendLine("           <div class='field'>");
            _str.AppendFormat("             <div class='ui fluid button inverted blue' id='{0}-btnsave' alt='{1}'>", _idContent, SCHUtil.PAGE_REGISTERSCHOLARSHIP_ADDUPDATE);
            _str.AppendLine("                   <i class='save icon font-th regular black'></i>");
            _str.AppendLine("                   <span class='lang lang-th f9 font-th regular black'>บันทึก</span>");
            _str.AppendLine("                   <span class='lang lang-en f9 font-en regular black'>Save</span>");
            _str.AppendLine("               </div>");
            _str.AppendLine("           </div>");
            _str.AppendLine("       </div>");
            _str.AppendLine("  </div>");

            return(_str);
        }