How can I get the value from the CheckBox Control before is selected?? It doesn´t have a .Value method.
else if (c.GetType() == typeof(CheckBox)) // c is control
{
string textValue= ((CheckBox)(c)).Text; // here I take the text
string value= ((CheckBox)(c)).????; //how should I take the value?
Aucun commentaire:
Enregistrer un commentaire