Microsoft
Software
Hardware
Network
Question : C# -- Checkbox STATE ?
How can I change the below "Cells["IsDesigner"].State
== unchecked" so it works ?
--------------------------
----------
----------
----------
----------
----------
----------
----------
--------
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
["IsDesign
er"].State
== unchecked)
{
MessageBox.Show("UnChecked
");
}
else
{
MessageBox.Show("Checked")
;
}
}
}
Answer : C# -- Checkbox STATE ?
What about something like this:
if ((bool)designerMaintenance
DataGridVi
ew.Rows[i]
.Cells[IsD
esigner].V
alue == false)
Random Solutions
Problems With The GoTo Code
Changing the case, Forcing all caps in a vb.net Windows app
SSRS export INTO Excel Tabbed Sheets?
Passing a string using SendMessage
Migration from NT4 PDC to 2003 AD... NT4 SP6 AWOL!
How to use the .rc file in my static libray instead of the .rc file in the main program ?
Impoting xls sheet into Microsoft acces existing table
The data types nvarchar and uniqueidentifier are incompatible in the add operator.
Reusing an iif statement in MS Access
VBA/Excel - How to replace date value with date variable from text box?