..
This commit is contained in:
@@ -278,6 +278,25 @@ namespace FPJ0000
|
||||
sbSumO.Text = this.dsMSSQL.Projects.Sum(t => t.costo).ToString("N2");
|
||||
sbSumI.Text = this.dsMSSQL.Projects.Sum(t => t.costn).ToString("N2");
|
||||
|
||||
lbcnt1.Text = "--";
|
||||
lbcnt2.Text = "--";
|
||||
lbcnt3.Text = "--";
|
||||
lbcnt4.Text = "--";
|
||||
lbcnt5.Text = "--";
|
||||
lbcnt6.Text = "--";
|
||||
|
||||
var grps = this.dsMSSQL.Projects.GroupBy(t => t.status);
|
||||
foreach (var grp in grps)
|
||||
{
|
||||
var cnt = grp.Count();
|
||||
if (grp.Key == "검토") lbcnt1.Text = cnt.ToString();
|
||||
else if (grp.Key == "진행") lbcnt2.Text = cnt.ToString();
|
||||
else if (grp.Key == "보류") lbcnt3.Text = cnt.ToString();
|
||||
else if (grp.Key == "취소") lbcnt4.Text = cnt.ToString();
|
||||
else if (grp.Key == "완료") lbcnt5.Text = cnt.ToString();
|
||||
else if (grp.Key == "완료(보고)") lbcnt6.Text = cnt.ToString();
|
||||
}
|
||||
|
||||
FormattingData();
|
||||
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user