質問編集履歴
1
修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -37,7 +37,7 @@
|
|
37
37
|
string year = comboBox1.SelectedItem.ToString();
|
38
38
|
string month = comboBox2.SelectedItem.ToString();
|
39
39
|
string day = year +"/"+ month;
|
40
|
-
list =
|
40
|
+
list =control.Show(day);
|
41
41
|
for (int i = 0; i < list.Count(); i++)
|
42
42
|
{
|
43
43
|
list.ForEach(o=>dataGridView1.Rows.Add(o.Date,o.Starttime,o.Finishtime,o.Sumtime));
|
@@ -49,6 +49,8 @@
|
|
49
49
|
MessageBox.Show("未入力項目があります。", "エラー", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
50
50
|
}
|
51
51
|
}
|
52
|
+
|
53
|
+
//インスタンス作成、初期化等は省略しています。
|
52
54
|
```
|
53
55
|
---
|
54
56
|
SQL文、Listの格納の仕方、DateGridViewに表示するくだり、
|