質問編集履歴

2

タグを外しました

2022/12/20 05:56

投稿

tyro
tyro

スコア16

test CHANGED
File without changes
test CHANGED
File without changes

1

エラー発生時のダイアログを追加

2022/12/20 05:53

投稿

tyro
tyro

スコア16

test CHANGED
File without changes
test CHANGED
@@ -15,4 +15,9 @@
15
15
  rdata = srIniFile.ReadLine()
16
16
  DataGridView1.Rows(i).Cells(0).Value = rdata
17
17
  ```
18
+ ダイアログの内容は次の通りです。
19
+ > DataGridViewで次の例外が発生しました:
20
+ > System.FormatException: DataGridViewComboBoxCellの値が有効ではありません
21
+ > この既定のダイアログを置き換えるには、DataErrorイベントをハンドルしてください。
22
+
18
23
  元通りDisplay値を格納するにはどうすれば良いでしょうか。