随笔分类 - C#
摘要:http://www.cnblogs.com/sunnyzhao/articles/213356.html
阅读全文
摘要:http://zgnew.blog.com.cn/archives/2008/2727834.shtml http://backham001.bokee.com/viewdiary.10933397.html#
阅读全文
摘要:Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->JavaStr+="TANGER_OCX_OBJ.ActiveDocument.FormFields('VerifiedBy').Range.InlineShapes.AddPicture('"...
阅读全文
摘要:http://cache.baidu.com/c?m=9f65cb4a8c8507ed4fece76310508d37411697634b868c452189c60984642c101a39fee867734a5f9792616703ad4d41e8f52b72301e26b69dc98b48cabbe57269d779203541c6171d8259f89800728777da1ca9fc45b...
阅读全文
摘要:复制到剪贴板 2 2 1.首先用后台语言从数据库里读取数据 2.把从数据库里读取到的数据用javascript操作付到页面中去。 eg: function replaceDate() { ...
阅读全文
摘要:http://www.cnblogs.com/chaowei119/archive/2005/05/26/162612.html
阅读全文
摘要:http://www.datasky.cn/News/aspx/20070919/20070919165146897341132.aspx http://hi.baidu.com/gzwfdy/blog/item/5e479019f686667edab4bdde.html http://blog.e-works.net.cn/147018/articles/7340.html http:/...
阅读全文
摘要://输出到excel的函数,可直接copy到 cs页面 private void OutExcel(GridView dg, string name) { dg.Visible = true; Response.Clear(); Response.Buffer = true; Response.Charset = "G...
阅读全文
摘要:在《Office with .Net (二) ――― 使用.Net访问Office编程接口》一文中,已经介绍了使用Office Automation(Office自动化)技术,在.Net代码中通过Office PIA直接访问Office编程接口。比如,在那篇文章中,我们创建了一个C#编写的WinForms程序,在程序中直接启动Word,用代码操作Word自动完成一些工作,然后再用代码将Word关闭...
阅读全文
摘要:using System; using System.Web; using System.Text; using System.Data; using System.Web.UI; using System.IO; using System.Reflection; using System.Collections; using System.Runtime.InteropServices; usi...
阅读全文
摘要:public void DownLoad(string FileName,Page R) { if (FileName != "") { string path = R.Server.MapPath(FileName); System.IO.FileInfo file = new System.IO.FileInfo(path); if (file.Exis...
阅读全文

浙公网安备 33010602011771号