29 references to DBNull
System.Data (3)
fx\src\data\System\NewXml\XmlDataDocument.cs (3)
2145
row[ col ] = Convert.
DBNull
;
2237
row[column] = Convert.
DBNull
;
2269
row[c] = Convert.
DBNull
;
System.Web (9)
Management\SqlWebEventProvider.cs (2)
155
sqlCommand.Parameters[n++].Value = (reqInfo != null) ? reqInfo.RequestUrl : Convert.
DBNull
;
161
sqlCommand.Parameters[n++].Value = (exception != null) ? exception.GetType().ToString() : Convert.
DBNull
;
State\sqlstateclientmanager.cs (7)
488
cmd.Parameters[1].Value = Convert.
DBNull
; // @itemShort
489
cmd.Parameters[2].Value = Convert.
DBNull
; // @locked
490
cmd.Parameters[3].Value = Convert.
DBNull
; // @lockDate or @lockAge
491
cmd.Parameters[4].Value = Convert.
DBNull
; // @lockCookie
492
cmd.Parameters[5].Value = Convert.
DBNull
; // @actionFlags
1079
p.Value = Convert.
DBNull
;
1274
param.Value = Convert.
DBNull
;
System.Windows.Forms (16)
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IManagedPerPropertyBrowsingHandler.cs (1)
243
objects[i] = Convert.
DBNull
;
winforms\Managed\System\WinForms\DataGrid.cs (2)
1454
if ((value == null || value == Convert.
DBNull
) && this.DataMember != null && this.DataMember.Length != 0 ) {
1593
if (newDataSource != null && this.BindingContext != null && !(newDataSource == Convert.
DBNull
))
winforms\Managed\System\WinForms\DataGridBoolColumn.cs (8)
31
private object currentValue = Convert.
DBNull
;
35
private object nullValue = Convert.
DBNull
;
173
object value = Convert.
DBNull
;
469
if (currentValue != Convert.
DBNull
) {
470
currentValue = Convert.
DBNull
;
476
NullValue = Convert.
DBNull
;
480
return nullValue != Convert.
DBNull
;
494
currentValue = Convert.
DBNull
;
winforms\Managed\System\WinForms\DataGridTextBoxColumn.cs (1)
427
value = Convert.
DBNull
;
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
1020
if (cm == null && this.DataSource != null && dataGridView != null && dataGridView.BindingContext != null && !(this.DataSource == Convert.
DBNull
))
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (1)
1160
if (this.dataSource != null && this.owner.BindingContext != null && !(this.dataSource == Convert.
DBNull
))
winforms\Managed\System\WinForms\ListControl.cs (1)
771
if (newDataSource != null && BindingContext != null && !(newDataSource == Convert.
DBNull
)) {
winforms\Managed\System\WinForms\NativeMethods.cs (1)
4414
return Convert.
DBNull
;
WindowsBase (1)
Shared\MS\Win32\NativeMethodsCLR.cs (1)
4726
return Convert.
DBNull
;