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
 
Back
Top