1
Option Strict OnでDataGridViewCell.Valueをテストする方法は?Option StrictでDataGridViewCell.Valueを設定する方法
If DataGridViewCell.Value = "some value" then
はエラーを与える:
Option Strict On disallows operands of type Object for operator '='. Use the 'Is' operator to test for object identity.
EDIT:
ソリューションは、次のとおりです。
If DataGridViewCell.Value.ToString = "some value" then