toshortstring -> tostring

This commit is contained in:
ChiKyun Kim
2025-12-19 08:23:13 +09:00
parent ab46ccb924
commit b1c3bbac42
76 changed files with 324 additions and 324 deletions

View File

@@ -245,7 +245,7 @@ namespace FEQ0000
System.Text.StringBuilder sb = new StringBuilder();
sb.AppendLine("다음 자료를 추가하시겠습니까?");
sb.AppendLine();
sb.AppendLine("등록일 : " + dateTimePicker1.Value.ToShortDateString());
sb.AppendLine("등록일 : " + dateTimePicker1.Value.ToString("yyyy-MM-dd"));
sb.AppendLine();
sb.AppendLine("'저장 완료' 메세지가 나올때 까지 기다려 주세요.");
sb.AppendLine();
@@ -263,7 +263,7 @@ namespace FEQ0000
dt.Clear();
dt.AcceptChanges();
var dateStr = this.dateTimePicker1.Value.ToShortDateString();
var dateStr = this.dateTimePicker1.Value.ToString("yyyy-MM-dd");
this.progressBar1.Value = 0;
this.progressBar1.Maximum = dtExcel.Rows.Count;
@@ -349,7 +349,7 @@ namespace FEQ0000
//데이터추가
var newdr = dt.NewRow();
newdr["pdate"] = dateTimePicker1.Value.ToShortDateString();
newdr["pdate"] = dateTimePicker1.Value.ToString("yyyy-MM-dd");
newdr["asset"] = dr[6].ToString();
newdr["grp"] = dr[0].ToString();
newdr["type"] = dr[2].ToString();

View File

@@ -57,7 +57,7 @@ namespace FEQ0000
{
var dr = gItemGrp2.FirstOrDefault();
var newdr = dtSum.NewvEquStockAllRow();
newdr.pdate = DateTime.Now.ToShortDateString();
newdr.pdate = DateTime.Now.ToString("yyyy-MM-dd");
newdr.grp = dr.type;
newdr.manu = dr.manu;
newdr.model = dr.model;