toshortstring -> tostring
This commit is contained in:
@@ -75,10 +75,10 @@ namespace FCM0000
|
||||
|
||||
//마지막 자료를 가져온날을 찾는다.
|
||||
var dateList = FCOMMON.DBM.getDateList("InventoryUser", "uid='" + FCOMMON.info.Login.no + "'");
|
||||
dtED.Text = DateTime.Now.ToShortDateString();
|
||||
dtED.Text = DateTime.Now.ToString("yyyy-MM-dd");
|
||||
|
||||
if (dateList.Count > 0) dtSD.Text = dateList[dateList.Count - 1];
|
||||
else dtSD.Text = DateTime.Now.AddDays(-7).ToShortDateString();
|
||||
else dtSD.Text = DateTime.Now.AddDays(-7).ToString("yyyy-MM-dd");
|
||||
|
||||
btSearch.PerformClick();
|
||||
|
||||
@@ -126,7 +126,7 @@ namespace FCM0000
|
||||
e.Row["wuid"] = FCOMMON.info.Login.no;
|
||||
e.Row["uid"] = FCOMMON.info.Login.no;
|
||||
e.Row["wdate"] = DateTime.Now;
|
||||
e.Row["pdate"] = DateTime.Now.ToShortDateString();
|
||||
e.Row["pdate"] = DateTime.Now.ToString("yyyy-MM-dd");
|
||||
e.Row["dr_qty"] = 0;
|
||||
e.Row["dr_amt"] = 0;
|
||||
e.Row["invtype"] = "I1";
|
||||
|
||||
Reference in New Issue
Block a user