ASP.NET连接字符串与SQL [英] asp.net connection string with sql
本文介绍了ASP.NET连接字符串与SQL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,我已经从网页创建了一个示例aspx页面,我将一些数据存储到sql文件中,我已经将sql mdf文件添加到了我的项目文件APP_data目录中,我不知道如何写连接字符串对于本地目录文件,请给我我的应用程序的连接字符串,并告诉我我必须在哪里放置该连接字符串
hi all i have created one sample aspx page, from my webpage i ll store some data into sql file, i have added that sql mdf file into in my project file APP_data directory, i don''t know how write connection string for local directory file please give me connection string for my application, and tell me where i have to place that connection string
推荐答案
http://www.connectionstrings.com/ [ ^ ]
除了Raja解决方案外,您还可以去那里
ADO和ADO.NET SQL数据库连接字符串 [
In addition to Raja solution you can also go there
ADO and ADO.NET SQL database connection strings[^]
这篇关于ASP.NET连接字符串与SQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文