摘要
开发网站时,经常要用到的操作就是数据库操作,在web.config文件中对连接数据库的代码进行配置是经常使用的操作,优点是当需要改变连接数据库的代码的时候,不用对每个页面中的连接数据库的代码进行修改,只修改web.config文件中的连接数据库的代码就可以了。
Development sites,often operating is required for database operations,on the web.config file code is configured to con nect to the database is often used in operation,the advantage is that when the need to change the connect to the database code,don't need to connect to the database code in every page is modified,only change the web.config file it is ok to connect to the database code.
出处
《电脑知识与技术(过刊)》
2013年第4X期2536-2537,共2页
Computer Knowledge and Technology