摘要: 运行环境需要IIS支持!客户端代码:(WinForm)string fileName="xxxxxx"; //要上传得文件,如: d:/123.txtWebClient client = new WebClient();client.UploadFile("http://localhost/UploadFile.aspx","POST",fileName);服务器端代码:(aspx页面)<%@ Page Language="C#" %><% foreach (string f in Request 阅读全文
posted @ 2008-09-03 13:14 陕北蜂农 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 为了方便记忆,把 xml 的一些操作记录,方便自己看。呵呵更新Visor 这个 XMl 字段的内容declare @IP varchar(15)set @IP='192.168.200.1'update T_Notice set Vistor.modify('insert <IP>{sql:variable("@IP")}</IP> into (/Vistor)[1]')--<IP>192.168.200.0</IP>update T_Notice set Vistor.modify(' 阅读全文
posted @ 2008-09-03 11:05 陕北蜂农 阅读(146) 评论(0) 推荐(0) 编辑