小弟正开发一下系统,碰到一个技术难题,望各位大侠帮忙。
string p = "201096198974.pdf";
string filePath = Server.MapPath("DataFile/" + p);
Response.ClearContent();
Response.ClearHeaders();
Response.ContentType = "application/PDF";
Response.WriteFile(filePath);
Response.Flush();
Response.Close();
通过上段代码在网页中打开pdf,该pdf是可以进行输入文字的。
我希望将输入文字后的pdf保存到服务器,应该如何实现?
string p = "201096198974.pdf";
string filePath = Server.MapPath("DataFile/" + p);
Response.ClearContent();
Response.ClearHeaders();
Response.ContentType = "application/PDF";
Response.WriteFile(filePath);
Response.Flush();
Response.Close();
通过上段代码在网页中打开pdf,该pdf是可以进行输入文字的。
我希望将输入文字后的pdf保存到服务器,应该如何实现?
iTextSharp
http://blog.csdn.net/downmoon/archive/2008/12/09/3474130.aspx