Site1.Master-------------------------------------------------------------------------------------------------------
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site1.master.cs" Inherits="plat_WeiMed.SysControl.Site1" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>台管理</title> <link href="../CSS/bootstrap.min.css" rel="stylesheet" /> <script src="../js/jquery-1.10.2.min.js"></script> <script src="../js/bootstrap.min.js"></script> <%--<asp:ContentPlaceHolder ID="head" runat="server"> </asp:ContentPlaceHolder>--%></head><body> <form id="form1" runat="server"> <div> <div class="navbar navbar-inverse navbar-fixed-top"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#example-navbar-collapse"> <span class="sr-only">切换导航</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" runat="server" href="~/Index.aspx">WeiMed</a> </div> <div class="navbar-collapse collapse" id="example-navbar-collapse"> <ul class="nav navbar-nav"> <li><a runat="server" href="~/Index.aspx">主页</a></li> <li><a runat="server" href="~/SysControl/RelieveCaseNo.aspx">解除用户绑定</a></li> </ul> <ul class="nav navbar-nav navbar-right"> <li></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">您好 <%=sUsername%>!<b class="caret"></b> </a> <ul class="dropdown-menu"> <li><a href="#">用户信息</a></li> <li><a href="#">密码修改</a></li> <li class="divider"></li> <li> <asp:LinkButton ID="lbExit" runat="server" OnClick="lbExit_Click">退出</asp:LinkButton></li> </ul> </li> </ul> </div> </div> </div> <div style="margin-top: 55px" class="container"> <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"> </asp:ContentPlaceHolder> <hr /> <footer> <p>© <%: DateTime.Now.Year %> - DIH WeiMed asp.net System management</p> </footer> </div> </div> </form></body></html>RelieveCaseNo.aspx子页--------------------------------------------------------------------------------<%@ Page MasterPageFile="~/SysControl/Site1.Master" Language="C#" AutoEventWireup="true" CodeBehind="RelieveCaseNo.aspx.cs" Inherits="plat_WeiMed.SysControl.RelieveCaseNo" %><asp:Content ID="BodyContent" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"> <div style="margin-top: 50px;"> <h2 class="alert alert-danger">注:强行解除绑定用户直接会影响用户对系统的使用,请慎用。</h2> <div class="form-inline"> 病历号:<asp:TextBox ID="tbCaseNo" runat="server" Width="281px" CssClass="form-control"></asp:TextBox> <asp:Button ID="btRelieveCaseNo" runat="server" Text="强行解除绑定用户" OnClick="btRelieveCaseNo_Click" CssClass="btn btn-danger" /> </div> </div> </asp:Content>
新闻热点
疑难解答