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# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -