如何在不同项目中获取用户控件的连接字符串 [英] how to get a connection string for usercontrol in different projects

查看:50
本文介绍了如何在不同项目中获取用户控件的连接字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用集合开发了一个用户控件.它包含一个app.config文件.现在我在其他项目中调整此控件的节奏.该项目包含其自己的app.config文件.现在我想使用此配置文件保存数据.

解决方案

我不确定这会有所帮助-但您可以尝试制作一个使用cantrol朋友的其他项目进入用户控制项目-使用该项目,您将有权访问用户控制实例


i have developed a usercontrol using collections. it contains an app.config file. now i am pacing this control in different project. this project contains its own app.config file. now i want to save the data using this config file. what can be done to do this?

解决方案

i am not sure that it will help - but you can try to make the ohter project in which you use your cantrol friend to the user control project - using that you will have access to the user control instances


这篇关于如何在不同项目中获取用户控件的连接字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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