上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 78 下一页
摘要: 分为几步: 1、在aspx文件中添加 function EndCallBack(s, e) { if (s.cpAlertMsg != "" && s.cpAlertMsg !=null) { alert(s.cpAlertMsg); s.cpAlertMsg = null; } } </scrip 阅读全文
posted @ 2018-04-26 14:48 qqhfeng16 阅读(258) 评论(0) 推荐(0) 编辑
摘要: if (e.Row.RowState == DataControlRowState.Normal || e.Row.RowState == DataControlRowState.Alternate) { //内容提示为GridView第二行数据显示的内容,其索引值为1(注意:.NET中索引值都是从 阅读全文
posted @ 2018-04-26 14:47 qqhfeng16 阅读(188) 评论(0) 推荐(0) 编辑
摘要: //add picture data to this workbook. byte[] bytes = System.IO.File.ReadAllBytes(@"D:\MyProject\NPOIDemo\ShapeImage\image1.jpg"); int pictureIdx = hssf 阅读全文
posted @ 2018-04-03 15:14 qqhfeng16 阅读(424) 评论(0) 推荐(0) 编辑
摘要: 1.获取frame的document HtmlDocument htmlDoc = webBrowser1.Document; htmlDoc = webBrowser1.Document.Window.Frames["frmRpt"].Document; "frmRpt"为iframe的name; 阅读全文
posted @ 2018-03-29 20:56 qqhfeng16 阅读(183) 评论(0) 推荐(0) 编辑
摘要: //exlel读操作 MultipartHttpServletRequest multipartRequest = (MultipartHttpServletRequest) request;Iterator<String> iter = multipartRequest.getFileNames( 阅读全文
posted @ 2018-03-25 18:11 qqhfeng16 阅读(1014) 评论(0) 推荐(0) 编辑
摘要: PDF文档通常是不能编辑的,但有些时候需要在PDF文档中填写日期或签名之类,就需要在PDF有能编辑的文本域,本文介绍怎样用C#来实现这一功能。 环境 工具:VS2015 语言:C# 操作PDF类库:iTextSharp 5.5.10 生成的PDF预览的工具:Skim、福昕阅读器、Acrobat Re 阅读全文
posted @ 2018-03-25 17:39 qqhfeng16 阅读(409) 评论(0) 推荐(0) 编辑
摘要: 众所周知,PDF文档通常是不能编辑和修改的。如果用户需要在PDF文档中签名或者填写其他内容时,就需要PDF文档中有可编辑的域。开发者也经常会遇到将数据以编程的方式填充到PDF模板域的需求。这时候就需要解决以下两个问题: 这里我将介绍怎样使用C#和Free Spire.PDF组件来实现这一功能。 Fr 阅读全文
posted @ 2018-03-25 17:38 qqhfeng16 阅读(729) 评论(0) 推荐(0) 编辑
摘要: 1、Math.Round(0.333333,2);//按照四舍五入的国际标准2、 double dbdata=0.335333; string str1=String.Format("{0:F}",dbdata);//默认为保留两位3、 float i=0.333333; int j=(int)(i 阅读全文
posted @ 2018-03-22 20:41 qqhfeng16 阅读(3914) 评论(0) 推荐(0) 编辑
摘要: 实践应用 set_tposition (WindowHandle3,50, 50) write_string (WindowHandle3, '半径 D1=' +Ra[i]$'#f') set_tposition (WindowHandle3, 150, 50) write_string (Wind 阅读全文
posted @ 2018-02-01 15:05 qqhfeng16 阅读(1613) 评论(0) 推荐(0) 编辑
摘要: // 引入必要的命名空间using System.IO;using System.Drawing.Imaging; // 代码部分 // private byte[] photo;//公用缓冲区public string SourFilePath;//源图片文件路径public string Obj 阅读全文
posted @ 2018-01-05 16:24 qqhfeng16 阅读(280) 评论(0) 推荐(0) 编辑
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 78 下一页