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
MDBData Logs??
re: Hosting website with IIS 6
Display Sharepoint documents name in Infopath form?
Dataset - Column value - need correct syntax
Newly promoted DC is unable to enable Replication; Event 13508
Mail Merge Access Query to Word Document Update Question??
moving documents and settings from c to d drive
How can i delete old records automaticaly?
error loading lmouse.vxd reinstall windows
Picture box -- gif images problem