技术积累

明日复明日,明日何其多,我生待明日,万事成蹉跎。
posts - 93, comments - 10, trackbacks - 1, articles - 0
  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理

09 2005 档案

摘要: 随着Internet技术的发展和跨平台需求的日益增加,Web Services的应用越来越广,我们不但需要通过Web Services传递字符串信息,而且需要传递二进制文件信息。下面,我们就分别介绍如何通过Web Services从服务器下载文件到客户端和从客户端通过Web Services上载文件到服务器。一:通过Web Services显示和下载文件我们这里建立的Web Services的名称...阅读全文

posted @ 2005-09-28 16:50 追风逐云.NET 阅读(1116) | 评论 (0) 编辑 |

摘要: 假如某网站有个表单,例如(url: http://localhost/login.aspx):帐号密码我们需要在程序中提交数据到这个表单,对于这种表单,我们可以使用 WebClient.UploadData 方法来实现,将所要上传的数据拼成字符即可,程序很简单:string uriString = "http://localhost/login.aspx";// 创建一个新的 WebClient ...阅读全文

posted @ 2005-09-28 16:17 追风逐云.NET 阅读(667) | 评论 (0) 编辑 |

摘要: 引言在论坛里经常看见有人问:使用.NET Remoting如何从服务器主动发出事件通知客户端?的确,初接触.NET Remoting的人多半会有这样的疑问,因为大部分的文章和书籍在介绍.NET Remoting时都只介绍了通道,对象,激活和生存周期等等概念,在谈到如何进行远程通信的时候,都只告诉读者如何从客户端激活一个服务器对象然后传递参数调用其方法。所以很多读者都不太清楚如何从服务器向客户端广播...阅读全文

posted @ 2005-09-22 15:59 追风逐云.NET 阅读(744) | 评论 (0) 编辑 |

摘要: C#操作Word!namespaceImportExportToOffice{usingSystem;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Windows.Forms;publicclassImportExportToWord{privateWord.ApplicationClassoWordApplic;privateWo...阅读全文

posted @ 2005-09-19 11:21 追风逐云.NET 阅读(953) | 评论 (1) 编辑 |

摘要: C#操作Excel! publicclassImportExportToExcel{privatestringstrConn;privateSystem.Windows.Forms.OpenFileDialogopenFileDlg=newSystem.Windows.Forms.OpenFileDialog();privateSystem.Windows.Forms.SaveFileDialog...阅读全文

posted @ 2005-09-19 11:18 追风逐云.NET 阅读(786) | 评论 (0) 编辑 |

posted @ 2005-09-16 14:38 追风逐云.NET 阅读(125) | 评论 (0) 编辑 |

posted @ 2005-09-10 17:58 追风逐云.NET 阅读(607) | 评论 (0) 编辑 |

posted @ 2005-09-08 22:15 追风逐云.NET 阅读(1902) | 评论 (3) 编辑 |

posted @ 2005-09-01 22:44 追风逐云.NET 阅读(1361) | 评论 (4) 编辑 |