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

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

c# - Better 64-bit byte array hash -

python - PyCharm Type error Message -