摘要: 通过使页面动态加载不同CSS实现多界面方法一: <%@pagelanguage="C#"%><%@importnamespace="System.Data"%><scriptlanguage="c#"runat="server">publicvoidpage_load(Objectobj,EventArgse){//创建服务器端控件.//指定的标记"LINK"初... 阅读全文
posted @ 2005-09-15 22:30 Day_Dreamer 阅读(493) 评论(0) 推荐(0)
摘要: 1.为button控件添加确认功能要想为服务器控件添加客户端的事件,需要用到Attributes属性。Attributes属性是所有的服务器控件都有的一个属性,它用来为最终生成的HTML添加自定义的一些标记。假设Web Form上有一个保存按钮btnSave,希望在用户点此按钮时提示用户是否确实要保存(比如一旦保存就无法恢复等),则应在Page_Load事件中添加如下代码:1btnSave.Att... 阅读全文
posted @ 2005-09-15 22:11 Day_Dreamer 阅读(1211) 评论(0) 推荐(0)
摘要: TodayIbeginanewlife.TodayIshedmyoldskin,whichhastoolongsufferedthebruisesoffailureandthewoundsofmediocrity.TodayIambornanewandmybirthplaceisavineyardwherethereisfruitforall.TodayIwillpluckgrapesofwisd... 阅读全文
posted @ 2005-09-15 18:12 Day_Dreamer 阅读(331) 评论(0) 推荐(0)