如何将DataLink对话框连接到按钮 [英] How to Connect DataLink dialog to Button

查看:98
本文介绍了如何将DataLink对话框连接到按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为了获取连接字符串,我们将创建一个.udl文件,并从数据链接对话框中获取连接....
但是在这里,我想将数据链接对话框连接到我的按钮,以便当用户单击按钮时,应该打开数据链接对话框,并将创建的连接填充到文本框中.


可能吗?如果是,如何?

解决方案

http://support.microsoft. com/kb/310083 [ ^ ]

In order to get the connection string we''l be creating a .udl file and get the connection from the datalink dialogbox....
But here i want to connect the datalink dialog box to my button ,so that when the user clicks on the button ,the datalink dialog should be opened and the created connection should be filled into the textbox.


Is it possible? if yes , how?

解决方案

http://support.microsoft.com/kb/310083[^]


这篇关于如何将DataLink对话框连接到按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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