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
SQL Function Question
sql question
How do I create a Public Folder using Exchange Online through Microsoft Online Services?
How do I insert an automatic check box for Word 2007
vba code to close form (with a subform) after user clicks on the back record navigation selector button
Unable to load Local Users and Groups
ssis dtsx package - Error loading Package.dtsx: Failed to decrypt protected XML node "DTS:Password"
Import from Word; how to specify a particular file
Web.Config Error - Sections must only appear once per config file. See the help topic <location> for exceptions.
Cannot open user default database SQL Server error 4064