Click to See Complete Forum and Search --> : Query Builder C#/VB.NET component


Autofreak
October 12th, 2006, 02:12 PM
Hello,

I would like to incorporate a query builder component into my application so that I could bulid sql statement dinamicaly (SQL Server, Access). Are there anything in MS or third party tools you can suggest?



Thank you,

serge

Shuja Ali
October 13th, 2006, 01:32 AM
Do you want a graphical tool like we have in access? Or do you just need a text editor where you can write your queries and execute them?

Here is one developed by Neelam K. Iyer and posted on c-sharpcorner.
http://www.c-sharpcorner.com/Database/QueryBuilder100NKI.asp

Autofreak
October 18th, 2006, 01:47 PM
Hey Shuja Ali,
I need a GUI tool in my app that would display the SQL Server DBs with all the metadata that comes with it like table and fileds in a control like TreeView. The user can create queries in a text box and execute them with resulted data displayed in a control like DataGridView on the same form. The idea is to be able to visually design queries and save/reuse them for report building.

Cheers,
Serge

aniskhan
October 18th, 2006, 10:32 PM
there is a graphical query builder in sql server 2000.
In Enterprise Manager -->Data transformation services --> New Package(right click) --> Select the type of Connection (select for sql server) --> In dialog set the connection and select the DB --> Connection created --> Now select Task (Select SQL Execute Task) --> Click QueryBuilder Button -->Done

Autofreak
October 20th, 2006, 09:33 AM
Thanks, it's good to know. But I am running SQL 2005 Express and I need a custom tool that I can integrate in my application for the end users to be able to build reports on their workstations.

Cheers,
Serge

oneofzil
November 5th, 2007, 10:56 AM
i have one developed by myself in C#, sum1972@163.com

sharonmiller
December 17th, 2007, 10:59 PM
Here's a c# generator that also uses stored procedures exclusively:
OxyGen Code
http://www.techinceptions.com/products.html#two

korzh
May 5th, 2008, 12:13 AM
Not sure if it still necessary but we have such component (or better say "component library"): EasyQuery.NET.
It allows to include user-friendly query builder right into your Windows Forms application or ASP.NET web-page.
For more information please take a look at: http://devtools.korzh.com/eq/dotnet/

joe100
October 23rd, 2008, 05:12 AM
Hey,

Here is a tool I am suggesting you which I use. Query Generator is a downloads - tool from www.wbcsoftwarelab.com. I am a .net programmer and having many such tiny readymade tools at my desk. I use this tool to insert/update/etc. to-fro master and client databases. Actually after downloading this, I have changed the sourcecode a little according to my requirement.
Hope my suggestion would help you.

ssmagin
October 8th, 2009, 05:56 AM
Have a look at Active Query Builder (http://www.activequerybuilder.com/). Seems to be what you're looked for (may be it's not too late ;).

PavelDev
June 18th, 2010, 12:12 PM
Aspose.Report includes AdHoc.WinForms component which gives ability to generate SQL queries without SQL server installed. It works with multiply tables, can automatically join them and generate SQL query, filter data you provide.

Take a closer look at official page:
http://www.aspose.com/categories/.net-components/aspose.report-for-.net/default.aspx

Download (evaluation version):
http://www.aspose.com/community/files/51/.net-components/aspose.report-for-.net/default.aspx

Aspose.Report also includes Aspose.Report AdHoc.Web component with similar funcitonality for ASP.NET.

I'm one of Aspose team developers.