Page 283 - ระบบบริหารจัดการงบประมาณด้านเทคโนโลยีสารสนเทศและการสื่อสาร กรมพัฒนาที่ดิน
P. 283
ห้องสมุดกรมพัฒนาที่ดิน
ง-28
return "t";
}
protected string show41(string sFormID)
{ string sTmp;
string sTx = "";
string sSql;
table = new DbMgt(str);
sSql="Select * from formAlterHSWProcure41 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>";
sTx += "<th>ใช้</th>";
sTx += "<th>ไม่ใช้</th>";
sTx += "</tr>";
decimal dAmt;
decimal dPPU;
decimal dTotal = 0M;
string sBGColor;
for (int i = 0; i < ds.RecordCount(); i++)
{
sTmp = ds.showFieldValue("DtlID", i);
if (checkVersion(ds.showFieldValue("ItemStandardID", i),
ds.showFieldValue("FiscalYear", i), ds.showFieldValue("Version", i)) == "t")
sBGColor = "";
else
sBGColor = " bgcolor='LightCoral'";