Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Images in buttons in DataGridView
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
Images in buttons in DataGridView
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Divers
Thread ID:
01215814
Message ID:
01215814
Vues:
65
I'm not entirely sure how I need to do this:

Under VFP I created a grid that had a column that displayed on of two button with a different image on each depending on whether or not a varchar(200) field contained data. (Data is pulled from SQL Server, in case this matters). Both buttons would then open a small form to edit this field. On the closing of that form, it would again set which button should be visible.

My question is: What's the best way to mimic this behaviour in .NET? I've looked at the DataGridViewButtonCell and DataGridViewImageCell classes but I'm not sure which would be best.

Thanks

Richard
State of Florida, DCF
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform