动态SQL查询生成器 [英] Dynamic SQL Query Builder

查看:109
本文介绍了动态SQL查询生成器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在一个窗体上创建一个SQl构建器,我可以直接拖放表名,如果它们具有关系,则将自动附加内部联接,如果它们不具有关系,则将附加交叉联接. />
有人可以帮我吗?

谢谢

I want to create a SQl builder on a form where i can directly drag and drop table names and if they are having relation then automatically inner join will be appended and if they do not have relation cross join will be appended.

can anyone help me ?

Thanks

推荐答案



看看下面在codeproject中的文章.您可以将其用于启动器,并根据需要进行必要的更改:
SqlWhereBuilder ASP.NET服务器控件 [
Hi,

Have a look at following article in codeproject. You can use it for starters and make necessary changes as per your requirement:
SqlWhereBuilder ASP.NET Server Control[^]


这篇关于动态SQL查询生成器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆