Page 265 - ระบบบริหารจัดการงบประมาณด้านเทคโนโลยีสารสนเทศและการสื่อสาร กรมพัฒนาที่ดิน
P. 265

ห้องสมุดกรมพัฒนาที่ดิน
                                                                                                         ง-10



                              fu01.SaveAs(sCurrentPath);
                              return sAlertSuccess + "|" + sFileName; }
                             catch (Exception ex)

                          {  return sAlertFail + ex.Message; }
                      }
                      protected string checkVersion(string sItemStandardID, string sFiscalYear, string sVersion)
                      {

                          string sSql;
                          DbMgt table = new DbMgt(str);
                          sSql = "select count(*) from ActiveItemVersion where ItemStandardID = '" +
                          sItemStandardID + "' and FiscalYear = '" + sFiscalYear + "' and Version = " + sVersion;

                          if (table.exScalar(sSql) == "0")
                              return "f";
                          else
                              return "t";

                      }
                      protected string show41(string sFormID)
                      {
                          string sTmp;

                          string sTx = "";
                          string sSql;
                          table = new DbMgt(str);

                          sSql = "Select * from formSetHSWProcure91 where FormID ="+ sFormID + "' ORDER BY
                  Ord";
                          ds = new MyDataSet(table.exReader(sSql));
                          sTx += "<table border='1' cellspacing='0' cellpadding='1' width='100%'>";
                          sTx += "<tr>";

                          sTx += "<th rowspan=2>ล าดับ</th>";
                          sTx += "<th rowspan=2>ประเภท</th>";
                          sTx += "<th rowspan=2>รายการ</th>";

                          sTx += "<th rowspan=2>จ านวน (บาท)</th>";
                          sTx += "<th rowspan=2>ราคาต่อหน่วย (บาท)</th>";
                          sTx += "<th rowspan=2>ราคารวม</th>";
                          sTx += "<th colspan=2>เกณฑ์กลาง ICT</th>";

                          sTx += "<th rowspan=2>กรณีไม่ใช้เกณฑ์กลางให้ระบุเหตุผล</th>";
                          sTx += "</tr>
                          sTx += "<tr>";
   260   261   262   263   264   265   266   267   268   269   270