views:

653

answers:

4

Can anyone reccomend a free .NET libary which allows you to expose a SQL Query builder to your users in a windows form app? I'd like my users to be able to run relatively straight forward SELECT statements, including some JOINS and other multi-table operations without getting into the real nitty-gritty of SQL.

Thanks, sweeney

+2  A: 

Report Builder is part of SQL Server Reporting Services, and it lets you do all of that and more. You can setup non-MSSQL data sources as well. We have non-developers use it all the time for creating reports with joins, grouping and so on with no SQL code.

The license is included in SQL Server Workgroup and above. I don't know if that's "free" enough for you.

jwmiller5
Can this be deployed without installing the full SQL engine preferably as part of my own application?
sweeney
It installs on top of IIS, and needs to be able to connect to a SQL Server to install its config DB. The IIS server can be on your app server.
jwmiller5
Cool this may be an acceptable solution for one of my problems. Thanks! For the other situation I still need something really lightweight, that can be deployed as a DLL or a code library that I can just use.
sweeney
A: 

You can use CodeEngine.Framework classes to select,insert,update,delete operations

Myra
A: 

You can use Aspose.Report AdHoc.WinForms component (it is not free). It requires no SQL server running, works fine with multiply tables and also have ability to make automated table join.

Take a look at the component demo on Aspose site.

I'm Aspose team developer.

Pavel