自己做的一个登陆注册留言板的界面未实现功能求指点 待更。。。。。。

Posted t-dashuai

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了自己做的一个登陆注册留言板的界面未实现功能求指点 待更。。。。。。相关的知识,希望对你有一定的参考价值。

MAIN结构

////

<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Main.master.cs" Inherits="Main" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
<link href="css/bootstrap.min.css" rel="stylesheet" />
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<script src="js/respond.min.js"></script>
<![endif]-->
<style>
body { padding-top: 70px;line-height:1.75em;font-family:"Helvetica Neue", Helvetica, "Microsoft Yahei", Hiragino Sans GB, WenQuanYi Micro Hei, sans-serif; }
</style>
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="btn btn-default btn-sm">全部</span>
<span class="sr-only">导航</span>
</button>
<a class="navbar-brand" href="/">***群众留言板</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="active"> <a href="Login.aspx">首页</a></li>
<li class="active"> <a href="Message.aspx">留言</a></li>
<li class="active"> <a href="ViewMessage.aspx">历史与更改</a></li>
</ul>


</div>
<!-- /.navbar-collapse -->
</div>
</nav>
<div class="container" id="Content">
<asp:ContentPlaceHolder ID="Contents" runat="server">
</asp:ContentPlaceHolder>

</div>
<div id="footer" class=" container panel">
<div class="panel-body" style="color: #ddd;">
<p class="text-muted">(C) ****科技有限公司,新手指南</p>

</div>
</div>
<script src="JS/jquery-1.11.0.min.js"></script>
<script src="JS/bootstrap.min.js"></script>
<asp:ContentPlaceHolder ID="Scripts" runat="server">
</asp:ContentPlaceHolder>
<!--[if lte IE 8]>
<script type="text/javascript" src="js/bootstrap-ie.js"></script>
<script type="text/javascript">
if (confirm("您目前使用的浏览器版本过低,存在着严重的漏洞,建议您升级您的浏览器。 您是否需要了解升级浏览器相关的内容?")) {
this.location = "ErrorPage/ie.html";
} else {
alert("您现在使用的是兼容模式。 可能无法正确显示页面,我们强烈建议您升级您的浏览器。 升级请按F5");
}
</script>
<![endif]-->
</body>
</html>

登陆界面

技术分享图片

//

 

<%@ Page Title="" Language="C#" MasterPageFile="~/Main.master" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Contents" Runat="Server">
<div class="col-md-5 col-md-offset-5">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">
登录</h3>
</div>
<div class="panel-body">
<form class="form-horizontal" role="form">
<div class="form-group">
<label for="inputEmail3" class="col-md-2 control-label">
账户</label>
<div class="col-sm-10">
<input name="LoginName" type="text" class="form-control" id="inputEmail3" placeholder="用户名"/>
</div>
</div>
<div class="form-group">
<label for="inputPassword3" class="col-md-2 control-label">
密码</label>
<div class="col-sm-10">
<input name="Password" type="password" class="form-control" id="inputPassword3" placeholder="密码"/>
</div>
</div>
<div class="form-group">
<div class="col-md-offset-2 col-sm-10">
<div class="checkbox">
<label>
<input type="checkbox"/>
记住密码
</label>

<label>
<a href="Register.aspx">没有账户?注册一个</a>
</label>

</div>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button name="op" value="login" type="submit" class="btn btn-default col-sm-4">
登录</button>
<a href="Register.aspx" class=" col-sm-4 col-sm-offset-2 btn btn-primary" title="注册企业账户可以帮助您轻松管理企业资源">注册企业账户</a>
</div>
</div>
<div class="text-center text-danger"><%=Msg %></div>
</form>
</div>
</div>
</div>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="Scripts" Runat="Server">
</asp:Content>

注册界面

//技术分享图片

<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Main.master.cs" Inherits="Main" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
<link href="css/bootstrap.min.css" rel="stylesheet" />
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<script src="js/respond.min.js"></script>
<![endif]-->
<style>
body { padding-top: 70px;line-height:1.75em;font-family:"Helvetica Neue", Helvetica, "Microsoft Yahei", Hiragino Sans GB, WenQuanYi Micro Hei, sans-serif; }
</style>
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="btn btn-default btn-sm">全部</span>
<span class="sr-only">导航</span>
</button>
<a class="navbar-brand" href="/">大庆市群众留言板</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="active"> <a href="Login.aspx">首页</a></li>
<li class="active"> <a href="Message.aspx">留言</a></li>
<li class="active"> <a href="ViewMessage.aspx">历史与更改</a></li>
</ul>


</div>

留言界面

技术分享图片

//

<%@ Page Title="" Language="C#" MasterPageFile="~/Main.master" AutoEventWireup="true" CodeFile="Message.aspx.cs" Inherits="_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Contents" runat="Server">
<div>
<form class="form-horizontal">
<div class="panel-heading panel-heading">
<h3 style="align-content:center">政 府 留 言 板</h3>
</div>

<div class="form-group">
<label for="inputEmail3" class="col-sm-2 control-label">标题</label>
<div class="col-sm-10">
<input type="email" class="form-control" id="inputEmail3" placeholder="标题"/>
</div>
</div>
<div class="form-group">
<label for="inputPassword3" class="col-sm-2 control-label">内容</label>
<div class="col-sm-10">
<textarea class="form-control" rows="8" placeholder="内容"></textarea>
</div>
</div>

<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-default">提交</button>
</div>
</div>
</form>
</div>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="Scripts" runat="Server">
</asp:Content>

留言修改界面

技术分享图片

//

<%@ Page Title="" Language="C#" MasterPageFile="~/Main.master" AutoEventWireup="true" CodeFile="ViewMessage.aspx.cs" Inherits="_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Contents" runat="Server">
<form class="form-group">
<div class="form-group panel-primary panel-heading">
<div style="float: right">
<span class="btn-group">
<a href="Register.aspx"><input type="button" class=" btn btn-primary" value="注册" /></a>
<a href="Login.aspx"> <input type="button" class="btn btn-danger" value="登陆" /></a>
</span>

</div>
<div>
<input type="button" class="alert-success" value="搜索" />
<input class="alert-warning" type="search" />
</div>


</div>
<div class="form-group panel-body">
<div id="Msg" class="text-center text-danger"></div>
<table class="table table-bordered table-hover">
<thead>
<tr>
<th>序号</th>
<th>标题</th>
<th>内容</th>
<th>留言人</th>
<th>留言时间</th>
<th>操作</th>
</tr>
</thead>
<tbody id="Messages">
<tr>
<td colspan="12">
<img src="Image/Loading.gif" />
数据载入中……</td>
</tr>
</tbody>
</table>
</div>

</form>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="Scripts" runat="Server">
</asp:Content>
























































































































































































































以上是关于自己做的一个登陆注册留言板的界面未实现功能求指点 待更。。。。。。的主要内容,如果未能解决你的问题,请参考以下文章

用 java swing做一个类似与微信的即时通讯界面,求高手指点

H5做的app怎么实现将消息推送到状态栏,求大神指点

网页中的用户登录、注册,怎么制作

用java编写一个“我的日记”的界面并使其实现写日记的功能, 最好含有登陆界面的

求大神指点 android最新版本京东商品筛选功能界面,如何实现辣么流畅。

Life In Changsha College- 第四次冲刺