如何在域上绑定连接字符串? [英] how to configer connection string on Domain?

查看:150
本文介绍了如何在域上绑定连接字符串?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我上传了我的网站并上传了我的数据库,但这是第一次上传。每件事都正常工作,但我有问题配置我的连接字符串。我在本地机器上创建连接字符串,但不知道如何在Domain上配置任何正文告诉我在web.config上必须写什么查询?



i have upload my Website and also have upload my Database, but this is first time to upload. Every thing is working properly but i have problem to configure my Connection string. I make my connection string at local machine but don't know how to configure at Domain can any body Tell my what query i shoud have to write on web.config?

<connectionStrings>
  <add name="dbs" connectionString="Data Source=WALEED-PC;Initial Catalog=MakInternational;Integrated Security=True"

   providerName="System.Data.SqlClient" />
 </connectionStrings>





这是我在本地机器上的代码,请告诉我在域名上需要做些什么更改?



this is my code at local machin, kindly please tell me what changes i have to make on domain?

推荐答案

您的数据库服务器IP地址或域名,以替换WALEED-PC
You your Database server IP Address or Domain Name, to replace WALEED-PC


这篇关于如何在域上绑定连接字符串?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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