摘要: 1.在webconfig写: 2.新建类:WS_Readusing System;using System.Collections;using System.Text;using System.Web.Services.Description;using System.Configuration; namespace Message{/// /// WS_Read 的摘要说明。/// p... 阅读全文
posted @ 2008-04-15 19:31 Nina 阅读(709) 评论(0) 推荐(0) 编辑
摘要: 多数时候我们通过 "添加 Web 引用..." 创建客户端代理类的方式调用WebService,但在某些情况下我们可能需要在程序运行期间动态调用一个未知的服务。在 .NET Framework 的 System.Web.Services.Description 命名空间中有我们需要的东西。具体步骤:1. 从目标 URL 下载 WSDL 数据。2. 使用 ServiceDescription 创建和... 阅读全文
posted @ 2008-04-15 19:28 Nina 阅读(541) 评论(0) 推荐(0) 编辑
摘要: 在.net 2.0 中如果使用了masterPage,则不能像以前那样使用 FindControl,则需要使用如下方法先找到ContentPlaceHolder,然后再找在这个ContentPlaceHolder中的你要找的控件 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighli... 阅读全文
posted @ 2008-04-15 18:58 Nina 阅读(425) 评论(1) 推荐(0) 编辑