views:

24

answers:

2

Is there a control called GenericDataGridView and how do I add that to Visual Studio 2008 so I can use it in my c# application?

+1  A: 

Yes, there is.

You can download the source files and compile the project.
Then, right-click the toolbox, click Choose Items, browse to the compiled DLL, and add it.

SLaks
Thank you very much for the reply. Is there any harm of doing this, will I face any compatibility issues later if I run my app in another vs2008? What would you recommend? Customize and use the normal DataGridView or better to use this one? I only need to have textboxes and few dropdowns in my gird. thanks
Zerone
@Zerone: This will have no effect at all on any project that doesn't reference the DLL.
SLaks
To open the project on another computer, you will need to make sure that the other computer has the DLL somewhere. (You can bundle the grid's DLL along with your project)
SLaks
OK thank you very much
Zerone
+1  A: 

here is the link for the grid view control which is for linq ans also for sql queries

LINQ TO SQL GridView (Enhanced Gridview) : - http://www.codeproject.com/KB/aspnet/LINQ_TO_SQL_GridView.aspx

ASP.NET Extended Grid Control : - http://www.codeproject.com/KB/custom-controls/EnhanceGrid.aspx

Pranay Rana
Thank you very much the links are very useful.
Zerone
@Zerone- you are welcome.. so my ans is accepted ?
Pranay Rana