摘要:1 不调用itextsharp.dll的操作 /// /// 生成pdf流 /// /// private void EditPDF(string fpath) { string path = fpath.Replace("\\", "/"); FileStream MyFileStream ...
阅读全文
posted @ 2015-09-25 13:38
09 2015 档案
摘要:1 不调用itextsharp.dll的操作 /// /// 生成pdf流 /// /// private void EditPDF(string fpath) { string path = fpath.Replace("\\", "/"); FileStream MyFileStream ...
阅读全文
posted @ 2015-09-25 13:38
摘要:可以下载itextsharp(https://sourceforge.net/projects/itextsharp)下载,然后在工程中引用该控件,举例子如下1 datatable 的内容转换为PDF 首先,建立一个datatable转换为pdf的方法如下usingiTextSharp;usingi...
阅读全文
posted @ 2015-09-25 13:37
摘要:asp.net生成PDF文件 (1)这个是例子是网上淘来的,哈哈,很有用的!首先要到网上下载itextsharp.dll,然后添加引用,主程序如下:1234567891011121314151617181920212223242526272829303132333435363738394041424...
阅读全文
posted @ 2015-09-25 13:36
摘要:using System;using System.IO;using System.Data;using System.Collections;using System.Data.OleDb;using System.Web;using System.Web.UI;using System.Web....
阅读全文
posted @ 2015-09-24 13:57
摘要:/// /// 模拟http 发送post或get请求 /// /// /// /// public string HttpPost(string url, string data) { ...
阅读全文
posted @ 2015-09-10 18:15
|
||