user control in DataGridView

  • Thread starter Thread starter Ali
  • Start date Start date
A

Ali

Hi,

I would like to know wether is it possible to have a user control as a
DataGridViewColumn?
if it is possible how?
if it is not what should I do?

for example I 've created a user control that has 2 text boxes for a
specific goal. then I want to have this control as a column Type of a
DataGridView.

Thanks,
Ali
 
Ali said:
Hi,

I would like to know wether is it possible to have a user control as a
DataGridViewColumn?
if it is possible how?
if it is not what should I do?

for example I 've created a user control that has 2 text boxes for a
specific goal. then I want to have this control as a column Type of a
DataGridView.

Thanks,
Ali

You can create a custom datagridview column by deriving from
DataGridViewColumn, I believe. Take a look at the msdn2 sample
http://msdn2.microsoft.com/en-us/library/ms180996.aspx.
--Matt
 

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