Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Show DataGridViewButtonColumn in a grid for a few selected rows

5 views
Skip to first unread message

Marta

unread,
Jan 12, 2009, 9:28:10 AM1/12/09
to
Happy New Year, first of all.

Does anyone know how can I add/show a button (DataGridViewButtonColumn) in a
grid for a WINDOWS APPLICATION, JUST FOR SOME selected rows, not all of
them?

If I add it for all the rows and try later to go through the rows collection
of the grid and set .visible = false just for those I don't want them to
appear, I get the message it's no possible cause the property just accept
get (not set).

I tried to find some similar event to the one for the web base grids,
RowDataBound, but I couldn't find it. The closest I found was the
_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e), but
It didn't help me much.

I would really appreciate any help, I'm bit despair at this point

Kind regards,

Marta


0 new messages