当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: 自定义控件要引发LoadPostData方法,需要包含一个ID为
 

 

 ·taglib学习笔记    »显示摘要«
    摘要:第一章:怎样使用taglib 一、第一种方法:仅声明tld位置 在jsp文件头部,声明: <%@ taglib uri=”/web-inf/tlds/orataglib_1_0.tld” prefix=”ora”%> 这样就ok了 二、第二种方法:定义库名称 在jsp文件头部,声明: <%@ taglib uri=&#......
 ·玩转datagrid    »显示摘要«
    摘要:我自己做东西很多地方用到了datagrid,在这篇里算是做个小结吧。先写个提纲吧,先去上课先。等下回来写完。1-datagrid的基本设计2-datagrid的编辑处理 -编辑保存 -提示删除3-其他设计 -排序 -datagrid分页较全面的例子4-应注意的地方 ......


引发自定义控件LoadPostData方法的必要条件!

自定义控件要引发loadpostdata方法,需要包含一个id为this.uniqueid的控件

writer.write("<input type=´hidden´ name=´" + me.uniqueid + "´>") 【程序编程相关:LSAT(Linux Security

可在控件组中加入一个hidden控件! 【推荐阅读:visual studio.net已检测

【扩展信息:oracle这样才能删除干净!!

或者干脆更简单的做法,把submit的name属性设置为me.uniqueid

imports system.componentmodel

imports system.web.ui

imports system.web.ui.webcontrols

<defaultproperty("text"), toolboxdata("<{0}:login runat=server></{0}:login>")> public class login

    inherits system.web.ui.webcontrols.webcontrol

    implements ipostbackdatahandler

    public event checkerror as eventhandler

    private _user as string

    private _pass as string

    public function loadpostdata(byval postdatakey as string, byval postcollection as system.collections.specialized.namevaluecollection) as boolean implements system.web.ui.ipostbackdatahandler.loadpostdata

        _user = ctype(postcollection(me.uniqueid & ":user"), string)

        _pass = ctype(postcollection(me.uniqueid & ":pass"), string)

        if _user <> _pass then


...   下一页
    摘要:在asp.net 2.0的登陆控件中(详细见我的文章,www.yesky.com/softchannel/72342380468043776/20041102/1870966.shtml),其中的passwordrecovery(恢复用户密码控件中,可以当用户输入密码回答问题,答案后,将用户的用户名和密码email给用户,其中,我们可以改善一下它的提示密码信息) <asp:password......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE