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
~~HELP~~in table-level validation expression
Page numbering to start from 3rd page.
What is the right way to clone a Windows Server 2003 server, using imaging software?
My SQL Command not working
Task '
[email protected]
Sending and Receiving' reported error (0x80040102) : 'The requested operation cannot be performed on this account'
DOS FTP Script passing of parameter
Call function in outlook
Webservice integration into client application.
SCSI Tape Drives or Library in a Hyper-V R2 guest
Help File Format for program