Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Images in buttons in DataGridView
Message
General information
Forum:
ASP.NET
Category:
Forms
Title:
Images in buttons in DataGridView
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01215814
Message ID:
01215814
Views:
64
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
Next
Reply
Map
View

Click here to load this message in the networking platform