c# - Get the value from the CheckBox Control -


how can value checkbox control before selected?? doesn´t have .value method.

else if (c.gettype() == typeof(checkbox)) // c control {       string textvalue= ((checkbox)(c)).text; // here take text      string value= ((checkbox)(c)).????; //how should take value? 

try : ((checkbox)(c)).checked.tostring()


Comments

Popular posts from this blog

c++ - Qt setGeometry: Unable to set geometry -

python - argument must be rect style object - Pygame -

How to resolve Delphi error: Incompatible types: 'PWideChar' and 'Pointer' -