I am looking for a set of components to embed inside my application. The components would allow the user to s开发者_Go百科elect a data source, data table/view and edit a query graphically (just like in Visual Studio/ SQL managemenet studio).
Is there such a component in the .net framework? Otherwise, is there a third party?
Assuming it's for reporting and not Little Bobby Tables, you could try a product like EasyQuery:
http://devtools.korzh.com/query-builder-component/
Just load your tables into lists in your code, and bind them to datagrids, then hook their edit events to you can wrap everything up as SQL commands... You basically give user all the control, but restrict him from deleting tables and doing non-standard commands on a friendly UI :)
精彩评论