The Value of a datagridviewcell is never a nullable value. Success Cor Tuesday, December 15, 2015 4:01 PM Check this: prettyprint 复制 If (String.IsNullOrWhiteSpace(DataGridView1.CurrentCell.Value.ToString())) Then End If Fouad Roumieh Fouad, This code is very much just C# copied code...