Microsoft
Software
Hardware
Network
Question : C# -- "Value==null"
How can I change the below so
"Checked" messageBox displays
since "Value==null" does not work,
since BLANK value "ID1" cells display
as {} in debug mode on attached ?
--------------------------
----------
----------
----------
-
private void designerMaintenanceBinding
NavigatorS
aveItem_Cl
ick(object
sender, EventArgs e)
{
for (int i = 0; i < designerMaintenanceDataGri
dView.Rows
.Count; i++)
{
if (designerMaintenanceDataGr
idView.Row
s[i].Cells
["ID1"].Va
lue==null)
{
MessageBox.Show("Checked")
;
}
else
{
MessageBox.Show("UnChecked
");
}
}
}
Answer : C# -- "Value==null"
or ..Equals(System.DBNull.Val
ue)
Random Solutions
Access 2007 - Field List & Property Sheet Display
How do I get sql server management studio express to show
SBS 2008 Sharepoint Search/Gatherer error
[excel] - autofill speed?
The command or action 'OutputTo' isn't available now
C# -- About Box -- display "Publish Version"
vb.net - get ip address from host
using variables
Use DOS Batch File to Expand Wildcard into Filenames
How do you move controls in a Word 2007 template?