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
Forgot sa password for MS SQL 2000
Work around American date in DCount
I am used to Eclipse and want F3 to 'go to definition' in the VB.NET 2005 studio
Event Log - Schannel Event ID: 36888
SharePoint custom Dispform.aspx not showing some column data
Validate bound field
Set number of Clients in WSUS ? 2
Calculated control error in Microsoft Access 2007 report
Should I use .NET Visual, ASP.NET, Silverlight, WCF and what database?
sql query help