Adding custom control in DataGrid

G

Guest

Hi,

I would like to display a Checkbox and a string value in each cell of
DataGrid. I am trying to bind it with Custom user control consist of a
Textbox and a check box. The size of DataGrid (both rows and columns) are not
of fixed size. I am using Visual Studio 2002/2003 IDE for development. Are
there any extra feature for this availble in VS 2005?

Thanking you.
 
N

Nicholas Paldino [.NET/C# MVP]

Mandar B,

In .NET 2.0 (which VS.NET 2005 is the IDE for), you can use the
DataGridView, which has a different model, and makes it easier to host
custom controls in columns.

Hope this helps.
 
G

Guest

Thank you very much Nicholas for reply.
But VS.Net 2005 is not possible right now. In that case, is it possible to
use DataGridView with .Net 2.0 installed on Windows XP with VS.Net 2003 IDE?
Is there any other solutions to this issue?

Thanks & Regards,
Mandar B

Nicholas Paldino said:
Mandar B,

In .NET 2.0 (which VS.NET 2005 is the IDE for), you can use the
DataGridView, which has a different model, and makes it easier to host
custom controls in columns.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Mandar B said:
Hi,

I would like to display a Checkbox and a string value in each cell of
DataGrid. I am trying to bind it with Custom user control consist of a
Textbox and a check box. The size of DataGrid (both rows and columns) are
not
of fixed size. I am using Visual Studio 2002/2003 IDE for development. Are
there any extra feature for this availble in VS 2005?

Thanking you.
 

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

Top