資源簡介
Jquery錄取信息系統
運行環境:VS2010 SQL2005 運行時需要修改 web.config 連接字符串
技術特點:JqueryUI Json數據填充 三層結構
功能描述:增刪改在后臺查詢在前臺
數據庫文件在DB_51Aspx下,附加即可(MS Sql2005)
登陸賬號和密碼均是:51aspx

代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.Linq;
using?System.Web;
using?System.Web.UI;
using?System.Web.UI.WebControls;
using?System.Data;
using?StatusBLL;
using?StudentBLL;
public?partial?class?_Default?:?System.Web.UI.Page
{
????protected?void?Page_Load(object?sender?EventArgs?e)
????{
????????Status?sta?=?new?Status();
????????DataSet?ds?=?new?DataSet();
????????ds?=?sta.GetAllList();
????????view.DataSource?=?ds;
????????view.DataBind();
????}
????protected?void?serch_Click(object?sender?EventArgs?e)
????{
????????string?zkzh?=?zkz.Text;
????????string?sfzh?=?idc.Text;
????????zkzh.Trim();
????????sfzh.Trim();
????????if?((zkzh?==?““)?&&?(sfzh?==?““))
????????{
????????????Response.Write(“ript>alert(‘請填寫條件信息中的一項以上‘) ript>“);
????????}
????????else?if?((zkzh?!=?““)?&&?(sfzh?!=?““))
????????{
????????????Students?stu?=?new?Students();
????????????DataSet?ds2?=?new?DataSet();
????????????int?s?=?stu.CheckStudent(zkzh?sfzh);
????????????if?(s?==?1)
????????????{
????????????????Response.Redirect(“Result.aspx?zkz=“?+?zkzh+“&sfz=“+sfzh);
????????????????Response.Redirect(“Result.aspx“);
????????????}
????????????else
????????????{
????????????????Response.Write(“ript>alert(‘沒有查到記錄‘) ript>“);
????????????}
????????}
????????else?if?((zkzh?!=?““)?&&?(sfzh?==?““))
????????{
????????????Students?stu?=new?Students();
????????????DataSet?ds2?=?new?DataSet();
????????????int?s?=?stu.CheckStudent(zkzh?sfzh);
????????????if?(s?==?1)
????????????{
????????????Response.Redirect(“Result.aspx?zkz=“+zkzh);
????????????}
????????????else
????????????{
????????????????Response.Write(“ript>alert(‘沒有查到記錄‘) ript>“);
????????????}
????????}
????????else?if?((zkzh?==?““)?&&?(sfzh?!=?““))
????????{
????????????Students?stu?=?new?Students();
????????????DataSet?ds2?=?new?DataSet();
????????????int?s?=?stu.CheckStudent(zkzh?sfzh);
????????????if?(s?==1)
????????????{
????????????????Response.Redirect(“Result.aspx?sfz=“?+?sfzh);
????????????}
????????????else
????????????{
????????????????Response.Write(“ript>alert(‘沒有查到記錄‘) ript>“);
????????????}
????????}
????????else
????????{
????????????Response.Write(“ript>alert(‘沒有查到記錄‘) ript>“);
????????}
????????}
?}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????1954??2011-11-04?14:33??51Aspx源碼必讀.txt
?????文件????????4945??2011-11-04?14:33??from.gif
?????文件????????2445??2011-11-04?14:33??index.aspx
?????文件????????2390??2011-11-04?14:33??index.aspx.cs
?????文件????????1921??2011-11-04?14:33??index.aspx.designer.cs
?????文件???????42203??2011-11-04?14:33??LQMIS.csproj
?????文件????????1170??2011-11-04?14:33??LQMIS.csproj.user
?????文件?????????548??2011-11-04?14:33??LQMIS.Publish.xm
?????文件?????????899??2011-11-04?14:33??LQMIS_JQuery.sln
?????文件???????24064??2011-11-04?14:33??LQMIS_JQuery.suo
?????文件????????3323??2011-11-04?14:33??Result.aspx
?????文件????????3073??2011-11-04?14:33??Result.aspx.cs
?????文件????????2605??2011-11-04?14:33??Result.aspx.designer.cs
?????文件????????7615??2011-11-04?14:33??Web.config
?????文件?????????125??2011-11-04?14:33??最新Asp.Net源碼下載.url
?????文件????????3561??2011-11-04?14:33??admin\addsta.aspx
?????文件????????1491??2011-11-04?14:33??admin\addsta.aspx.cs
?????文件????????3186??2011-11-04?14:33??admin\addsta.aspx.designer.cs
?????文件????????4834??2011-11-04?14:33??admin\addstu.aspx
?????文件????????4084??2011-11-04?14:33??admin\addstu.aspx.cs
?????文件????????9642??2011-11-04?14:33??admin\addstu.aspx.designer.cs
?????文件?????????458??2011-11-04?14:33??admin\Checkcode.aspx
?????文件????????4261??2011-11-04?14:33??admin\Checkcode.aspx.cs
?????文件?????????808??2011-11-04?14:33??admin\Checkcode.aspx.designer.cs
?????文件????????3614??2011-11-04?14:33??admin\editsta.aspx
?????文件????????2667??2011-11-04?14:33??admin\editsta.aspx.cs
?????文件????????3524??2011-11-04?14:33??admin\editsta.aspx.designer.cs
?????文件????????4867??2011-11-04?14:33??admin\editstu.aspx
?????文件????????2855??2011-11-04?14:33??admin\editstu.aspx.cs
?????文件????????9976??2011-11-04?14:33??admin\editstu.aspx.designer.cs
?????文件????????3641??2011-11-04?14:33??admin\login.aspx
............此處省略921個文件信息
評論
共有 條評論