質問編集履歴
3
誤字
title
CHANGED
File without changes
|
body
CHANGED
@@ -30,7 +30,7 @@
|
|
30
30
|
try
|
31
31
|
{
|
32
32
|
// csvファイルを開く
|
33
|
-
using (var sr = new System.IO.StreamReader(@"
|
33
|
+
using (var sr = new System.IO.StreamReader(@"test.csv"))
|
34
34
|
{
|
35
35
|
//ヘッダを読み捨てる。
|
36
36
|
sr.ReadLine();
|
2
誤字
title
CHANGED
File without changes
|
body
CHANGED
@@ -57,7 +57,7 @@
|
|
57
57
|
// 表示ボタン
|
58
58
|
private void buttonView_Click(object sender, EventArgs e)
|
59
59
|
{
|
60
|
-
string InputID =
|
60
|
+
string InputID = textBoxName.Text;
|
61
61
|
int num = csvData.IndexOf(InputID); //エラー //ここで取得した値は下の[]内にいれることはできるのだろうか...?
|
62
62
|
|
63
63
|
textBoxName.Text = csvData[0][0];
|
1
誤字
title
CHANGED
File without changes
|
body
CHANGED
@@ -66,17 +66,4 @@
|
|
66
66
|
textBoxAddress.Text = csvData[0][3];
|
67
67
|
textBoxTelText = csvData[0][4];
|
68
68
|
}
|
69
|
-
|
70
|
-
// 引き出したデータの保管
|
71
|
-
private void ReadBuffer()
|
72
|
-
{
|
73
|
-
|
74
|
-
}
|
75
|
-
|
76
|
-
// 書き出しデータの保管
|
77
|
-
private void WriteBuffer()
|
78
|
-
{
|
79
|
-
|
80
|
-
}
|
81
|
-
}
|
82
69
|
```
|