Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox.Checked Not There
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Checkbox.Checked Not There
Divers
Thread ID:
01408479
Message ID:
01408479
Vues:
91
Control oControl = null;
Then later...
oControl = new MyRadioButton();
oControl.Text = sCaption;
oControl.Checked = Convert.ToBoolean(_DataRow[1]);
I'm getting
'System.Windows.Forms.Control' does not contain a definition for 'Checked' and no extension 
method 'Checked' accepting a first argument of type 'System.Windows.Forms.Control' could be found
Here's MyRadioButton
class MyRadioButton : RadioButton
{
}
So why isn't the Checked property there?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform