buttons in datagrid ?

  • Thread starter Thread starter Dave Brown
  • Start date Start date
D

Dave Brown

Is it possible to add buttons to cells in a windows forms datagrid and have
their caption reflect the bound data ?

rgds,
 
Dave you should be posting this question in
microsoft.public.dotnet.framework.windowsforms
 
Dave said:
Is it possible to add buttons to cells in a windows forms datagrid and have
their caption reflect the bound data ?

Wrong forum, but yes, just handle the DataBound event and use the
FindControl() method of the EventArgs.Item to locate the button.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top