摘要: Exporting DataGrids to Excel... Ken Walker's article on exporting DataSets to Excel has proved very popular. This article by Mike Dolan presents a different technique for getting a DataGrid rather... 阅读全文
posted @ 2005-04-29 18:37 沉默天蝎的学习汇集 阅读(618) 评论(0) 推荐(0) 编辑
摘要: 【1、最基本的弹出窗口代码】 其实代码非常简单: 因为着是一段javascripts代码,所以它们应该放在之间。是对一些版本低的浏览器起作用,在这些老浏览器中不会将标签中的代码作为文本显示出来。要养成这个好习惯啊。 window.open ('page.html') 用于控制弹出新的窗口page.html,如果page.html不与主窗口在同一路径下,前面应写明路径,绝对路径(ht... 阅读全文
posted @ 2005-04-29 18:18 沉默天蝎的学习汇集 阅读(648) 评论(0) 推荐(0) 编辑
摘要: 1、一般而言,如果想给aspx页面上的web form control加上一些javascript的特性,可以用Attributes.Add来实现。 例如,对TextBox txt,可以:txt.Attributes.Add("onclick", "fcn0();"); 那么,在web页面上click它的时候,就会调用fcn0这个javascript函数。 1.1、例外的情况是,对于IDE... 阅读全文
posted @ 2005-04-29 14:42 沉默天蝎的学习汇集 阅读(596) 评论(0) 推荐(0) 编辑