前端素材网站不花钱的网页游戏排行
前端素材网站,不花钱的网页游戏排行,flashfxp 发布网站,ASP网站开发步骤与过程今天的任务是主面板master嘿嘿 上头有几个按钮#xff0c;登录登出#xff0c;个人信息#xff0c;注册注销等#xff0c;他们是根据用户是否等率决定的 具体代码如下 using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System… 今天的任务是主面板master嘿嘿 上头有几个按钮登录登出个人信息注册注销等他们是根据用户是否等率决定的 具体代码如下 using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;public partial class MasterPage : System.Web.UI.MasterPage
{protected void Page_Load(object sender, EventArgs e){ //用户已登入和未登入分为两种情况if ((Boolean)Application[IsLogin] true) //用户已登录{PersonalInfo.Text 个人信息;NewUser.Text 注销;}else //用户未登录{PersonalInfo.Text 请登录;NewUser.Text 注册新用户;}}protected void PersonalInfo_Click(object sender, EventArgs e) //点击个人信息或登入链接时{if ((Boolean)Application[IsLogin] true){Response.Redirect(PersonalInfo.aspx); //登录跳转个人信息页面的接口}else{Response.Redirect(SignIn.aspx); //未登录跳转登录页面的接口}}protected void NewUser_Click(object sender, EventArgs e) //点击注销或注册链接时{if ((Boolean)Application[IsLogin] true){Response.Redirect(Main.aspx); //点注销跳转主页面的接口//缺少注销函数}else{Response.Redirect(Login.aspx); //点注册跳转注册页面的接口}}protected void GoToHomePage_Click(object sender, EventArgs e) //点击返回主页面链接时{Response.Redirect(Mian.aspx);}protected void Exit_Click(object sender, EventArgs e) //点击退出链接时{Response.Redirect(Mian.aspx);}
} 组长初步设计的视图界面的是这样 恩以上是今天任务。 转载于:https://www.cnblogs.com/DOOM-scse/archive/2012/10/31/2748889.html
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/diannao/88792.shtml
如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!