摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Data;usingSystem.Configuration;usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;usingSystem.Web.UI.WebControls;usingSystem.Web.UI.WebControls.WebParts;usingSystem.We
阅读全文
随笔分类 - .net
Microsoft .NET
摘要:初衷:现在我有一张元素周期表(jpg),假设我需要把它添到网页中并对其中五个元素添加链接,链接到这个五个元素介绍的相关页面。第一种解决方案:运用DW设置图片热区域,添加链接。然后效果不尽人意,操作不符合常人习惯且无动效果,优点是操作简单。第二种方案,制动含有动态按钮的flash文件,前添加链接。优点交互性强,效果好。于是采用第二种方案。制作flash如下:主要的AS3代码如下:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--functionGo
阅读全文
摘要:需求:对数据库的数据读取后进行页面显示,当然是表格形式,那么如果我想对其进行转化成PDF打印输出,又该如何?一点不错,生成PDF,网上有很多方法,大部分都是itexsharp,在这里,我又整理了一下。首先引入ICSharpCode.SharpZipLib.dll和Itextsharp.dll,网上可以下载到,很多,我感觉只引入Itextsharp.dll就足够了,均开源。添加button按钮。代码呈上:代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com
阅读全文
摘要:意图:通过点击ListBox,GridView表格切换数据源,显示不同的数据表格。 最初,我起了一些Javascript代码,收效甚微,加之不好调试,又恐耽搁进度。没有办法,找了个最笨的方法,也算是过墙梯吧。闲话且停,代码呈上: javascript代码部分Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--functionvisitSelected(){varosel_Access=document.getElementById("sel_Acces
阅读全文
摘要:ASPxGridView Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--dxwgv:ASPxGridViewID="ASPxGridView1"runat="server"AutoGenerateColumns="False"DataSourceID="AccessDataSource1"KeyFieldName="建设项目编号"Columnsdxwgv:GridViewDataTextColumnFieldName="建设项目编号"R
阅读全文
浙公网安备 33010602011771号