摘要: 法一: Web Service内容没有变,只是换了各地方。比如从localhost:8080/a.asmx换到了localhost:8090/a.asmx。如此一来你不必重新修改Web Reference只需要在使用WebMethod时WebS.Aa=newWebS.A(); a.Url="http://localhost:8090/a.asmx" a.remoteDosth();可以把Url字符串存到config里面,用的时候去取。方法二:privatevoidPage_Load(objectsender,System.EventArgse) { //在此处放置用户代码以 阅读全文
posted @ 2013-12-16 16:55 简单就好。。。 阅读(403) 评论(0) 推荐(0) 编辑
摘要: 1.1、WebService基本概念WebService也叫XMLWebServiceWebService是一种可以接收从Internet或者Intranet上的其它系统中传递过来的请求,轻量级的独立的通讯技术。是:通过SOAP在Web上提供的软件服务,使用WSDL文件进行说明,并通过UDDI进行注册。XML:(ExtensibleMarkupLanguage)扩展型可标记语言。面向短期的临时数据处理、面向万维网络,是Soap的基础。Soap:(SimpleObjectAccessProtocol)简单对象存取协议。是XMLWebService的通信协议。当用户通过UDDI找到你的WSDL描述 阅读全文
posted @ 2013-12-16 15:39 简单就好。。。 阅读(968) 评论(0) 推荐(0) 编辑
摘要: 1.导出助手类usingSystem;usingSystem.IO;usingSystem.Data;usingSystem.Data.OleDb;usingSystem.Web;usingSystem.Web.UI;usingSystem.Web.UI.WebControls;usingSystem.Text;usingSystem.Globalization;usingSystem.Collections;namespaceWeb.Controls.Export{//////DbfHelper导出助手类。///publicclassDbfHelper{string_templetFile; 阅读全文
posted @ 2013-12-16 15:02 简单就好。。。 阅读(442) 评论(0) 推荐(0) 编辑