91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 2.55MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-11-16
  • 語言: C#
  • 標簽: c#??asp??.net??

資源簡介

圖書管理系統 c# asp .net 圖書管理系統 網頁

資源截圖

代碼片段和文件信息

using?System;
using?System.Data;
using?System.Configuration;
using?System.Collections;
using?System.Web;
using?System.Web.Security;
using?System.Web.UI;
using?System.Web.UI.WebControls;
using?System.Web.UI.WebControls.WebParts;
using?System.Web.UI.HtmlControls;
using?System.Drawing;

public?partial?class?Admin_Apply?:?System.Web.UI.Page
{
????public?int?cnt?=?0;
????public?DateTime?date?=?DateTime.Now;
????protected?void?Page_Load(object?sender?EventArgs?e)
????{
????????if?(!IsPostBack)
????????{
????????????if?(Session[“user“]?==?null)
????????????{
????????????????Response.Redirect(“Admin_Login.aspx“);
????????????}
????????????BindApply();
????????}
????}
????protected?void?gvApply_RowDataBound(object?sender?GridViewRowEventArgs?e)
????{
????????//添加效果
????????if?(e.Row.RowType?==?DataControlRowType.DataRow)
????????{
????????????e.Row.Attributes.Add(“onmouseover“?“color=this.style.backgroundColor;this.style.backgroundColor=‘#D4DFFF‘“);
????????????e.Row.Attributes.Add(“onmouseout“?“this.style.backgroundColor=color“);
????????}
????}
????private?void?BindApply()
????{
????????DataSet?ds?=?DBOP.AdminApply();
????????if?(ds.Tables[0].Rows.Count?>?0)
????????{
????????????gvApply.Visible?=?true;
????????????lbmsg.Text?=?““;
????????????gvApply.DataSource?=?ds.Tables[0].DefaultView;
????????????gvApply.DataBind();
????????}
????????else
????????{
????????????gvApply.Visible?=?false;
????????????lbmsg.Text?=?“無任何學生自主登記的記錄!“;
????????}

????}
????protected?void?gvApply_RowCommand(object?sender?GridViewCommandEventArgs?e)
????{
????????int?id?=?0;
????????if?(e.CommandArgument.ToString()?!=?““)
????????{
????????????id?=?Convert.ToInt32(e.CommandArgument);????
????????}
????????//取消登記記錄
????????if?(e.CommandName?==?“Delete“)
????????{
????????????DBOP.CancelApply(id);
????????}
????????//予以借閱
????????if?(e.CommandName?==?“Sure“)
????????{
????????????Borrows?borrow?=?DBOP.GetBorrowEntity(id);
????????????int?rInt=DBOP.SureApply(idborrow.BookID);
????????????if?(rInt?!=?-1)
????????????{
????????????????
????????????????Mydata.Msg(string.Format(“[{0}]借閱{1}的信息已錄入系統.“?DBOP.GetUserEntity(borrow.UserID).U_NameDBOP.GetBookEntity(borrow.BookID).B_Name)?this);
????????????????Response.Redirect(“Admin_Apply.aspx“);
????????????}
????????}
????????BindApply();
????}
????protected?void?gvApply_RowDeleting(object?sender?GridViewDeleteEventArgs?e)
????{
????????///
????}

????///?
????///?登記記錄是否超時
????///?

????///?
????///?
????public?bool?IsOverTime(DateTime?date)
????{
????????bool?rBool?=?true;
????????DateTime?dt?=?Convert.ToDateTime(date.ToShortDateString());
????????TimeSpan?ts?=?new?TimeSpan();
????????ts?=?Convert.ToDateTime(DateTime.Now.ToShortDateString())?-?dt;
????????if?(ts.Days?>=?1)
????????{
????????????rBool=?false;
????????}
????????return?rBool;
????}

????public?string

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件????????202??2010-06-16?19:21??F8Library\6-16.txt

?????文件???????4065??2010-06-12?19:49??F8Library\Admin_Apply.aspx

?????文件???????3185??2010-06-11?09:04??F8Library\Admin_Apply.aspx.cs

?????文件???????6393??2010-06-16?19:21??F8Library\Admin_Book_Score.aspx

?????文件???????3942??2010-06-16?19:19??F8Library\Admin_Book_Score.aspx.cs

?????文件???????7879??2010-06-16?22:08??F8Library\Admin_Default.aspx

?????文件???????4679??2010-06-11?09:29??F8Library\Admin_Default.aspx.cs

?????文件???????4737??2010-06-12?22:13??F8Library\Admin_Login.aspx

?????文件???????2976??2010-06-17?08:00??F8Library\Admin_Login.aspx.cs

?????文件???????8828??2010-06-07?18:40??F8Library\Admin_Main.aspx

?????文件???????6016??2010-06-07?22:11??F8Library\Admin_Main.aspx.cs

?????文件???????1909??2010-06-08?08:37??F8Library\All_Book.ascx

?????文件????????648??2010-06-07?22:33??F8Library\All_Book.ascx.cs

?????文件???????1737??2010-06-11?19:15??F8Library\App_Code\Books.cs

?????文件???????3344??2010-06-16?14:57??F8Library\App_Code\BooksBLL.cs

?????文件????????700??2010-06-16?14:53??F8Library\App_Code\Book_img.cs

?????文件???????2944??2010-06-17?09:39??F8Library\App_Code\Book_img_BLL.cs

?????文件???????1355??2010-06-02?14:38??F8Library\App_Code\Borrows.cs

?????文件??????27093??2010-06-16?22:55??F8Library\App_Code\DBOP.cs

?????文件???????7560??2010-06-17?09:06??F8Library\App_Code\Functions.cs

?????文件???????8650??2010-06-12?22:29??F8Library\App_Code\Mydata.cs

?????文件????????887??2010-06-12?20:30??F8Library\App_Code\parameterCheck.cs

?????文件???????5523??2010-06-12?22:17??F8Library\App_Code\SqlInPost.cs

?????文件????????977??2010-06-16?22:08??F8Library\App_Code\Suggest.cs

?????文件???????1168??2010-06-02?14:37??F8Library\App_Code\Users.cs

?????文件???????1086??2010-06-09?19:10??F8Library\App_Code\Waits.cs

?????文件???????3233??2010-06-07?19:23??F8Library\BackBook.aspx

?????文件???????2394??2010-06-07?22:43??F8Library\BackBook.aspx.cs

?????文件??????63488??2010-03-26?13:15??F8Library\Bin\YumenControl.dll

?????文件????????128??2010-06-16?18:39??F8Library\Bin\YumenControl.dll.refresh

............此處省略209個文件信息

評論

共有 條評論