随笔分类 -  web

junit 4预览
摘要:这里是.net 论坛,只做个连接.http://www.blogjava.net/margiex/archive/2005/09/15/13104.html 阅读全文

posted @ 2005-09-15 18:03 margiex 阅读(331) 评论(0) 推荐(0)

integrated php with vs.net
摘要:http://www.quake-au.net/php/php_and_vsdotnet.htm 如何在vs.net中编辑PHP文件, 非常简单实用. 示例: 阅读全文

posted @ 2005-09-15 11:18 margiex 阅读(269) 评论(0) 推荐(0)

php下扩展php_curl.dll的安装
摘要:不好意思, 没有PHP的blog,就在这里发表了.下载的是php5.05已经内置有php_curl.dll,在ext目录下,此DLL用于支持SSL和zlib.在php.ini中找到有extension=php_curl.dll, 去掉前面的注释.设置extension_dir=c:\php\ext, 刷新PHP页面时报错, 说找不到模块php_curl.dll.拷贝php_curl.dll 到wi... 阅读全文

posted @ 2005-09-15 10:54 margiex 阅读(2110) 评论(0) 推荐(0)

apply template pattern in report or data driven page.
摘要:1. create a base control define the datagrid, query button, and export button or image; define the binddata method as virtual define the PrepareParamthe following is partial code: 1 public class Da... 阅读全文

posted @ 2005-08-30 10:36 margiex 阅读(885) 评论(1) 推荐(0)

forbid cache page in asp.net
摘要:added two lines in page_load:Response.Cache.SetCacheability(HttpCacheability.NoCache);Response.Cache.SetAllowResponseInBrowserHistory(false); 阅读全文

posted @ 2005-08-18 17:05 margiex 阅读(486) 评论(2) 推荐(0)

asp.net 中使用iframe动态加载页面
摘要:step1: 添加下列代码到ASPX页面:step2 此时aspx.cs中会有:protected System.Web.UI.HtmlControls.HtmlGenericControl frame1; 添加下列行到page_load事件中:HtmlControl frame1 = (HtmlControl)this.FindControl("frame1");step3在需要动态变更页面的地... 阅读全文

posted @ 2005-08-01 22:37 margiex 阅读(8459) 评论(6) 推荐(0)

treeview 的使用心得
摘要:技巧一: 可以设置在treeview的node上的点击事件,包括单击, 展开, 收缩, 双击, 右键单击等.采用的方法是通过服务器端注册客户端事件,代码如下: tvMenu.Attributes.Add("onselectedindexchange", "TVChangeIndex();"); 这是服务器端注册部分, 添加到page_load事件中. 以下为客户端代码: 详细示例请见: http... 阅读全文

posted @ 2005-07-26 16:37 margiex 阅读(6098) 评论(3) 推荐(0)

提高安全性, 删除IIS中的response http header
摘要:ref: http://www.asp101.com/articles/wayne/pryingeyes/default.asp 阅读全文

posted @ 2005-05-11 18:07 margiex 阅读(680) 评论(0) 推荐(0)