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
CTFMON_AU.EXE cannot get rid of --- a danger?
External Dsn Max Message Attach Size
IIS6 security/user permissions for multiple websites
How to modify the text of listbox in Form View
CPU want stay on
How to Export OWA content remotely?
Divide Records By Date
NSLOOKUP
"Declare Function" err - "not allowed as Public members of object modules"
TMG/ISA 2006 - Kerberos Authentication Issues