您现在的位置是:网站首页> 编程资料编程资料

c#网站WebConfig中域名引用示例介绍_实用技巧_

2023-05-24 407人已围观

简介 c#网站WebConfig中域名引用示例介绍_实用技巧_

在WebConfig中定义如下。
复制代码 代码如下:

public class WebConfig
{
public static string ResourceServer = @"http://www.xxx.com/"; }

在前台页面中这样调用
复制代码 代码如下:


" />

-六神源码网