09 2009 档案

摘要:今天突然碰到这么一个需求: 用C# 代码打开IE并且POST数据.就是我已经知道一个网站的用户名和密码(该网站并非自己的网站) , 而在我们的网站上有这么一个按钮,点击后就打开登录后的这个网站.http://support.microsoft.com/kb/815724/zh-cn微软的帮助和支持提供了这个解决方案.为什么要这么用:因为此网站是用session存储的会话,如果在后台先用webrequest,访问后再打开就会失败,因为打开新的浏览器后已经产生一个新的session.只有在打开该网站的时候同时去POST数据.请添加 COM 下 的microsoft internetcontrol. 阅读全文
posted @ 2009-09-07 19:59 糊涂而已 阅读(6964) 评论(1) 推荐(0)
摘要:The abstract Stream class is the base for all streams. It defines methods and properties for three fundamental operations : reading, writing, and seeking , as well as for administrative tasks such as closing , flushing, and configuring timeouts. Reading: CodeCode highlighting produced by Actipro Cod 阅读全文
posted @ 2009-09-02 17:36 糊涂而已 阅读(149) 评论(0) 推荐(0)
摘要:The most fundamental types for input and output int the .NET. These types int the System.IO namespace, the home of lower-level I/o functionality. The .NET steam architecture centers on three concepts : backing stores, decoratiors, and adapters. as the following Figure. Steams fall into two categorie 阅读全文
posted @ 2009-09-02 16:33 糊涂而已 阅读(178) 评论(0) 推荐(0)