全部代码.txt

JSJ01-033@ASP.NET图书馆管理信息系统(源代码+论文)

收藏

资源目录
跳过导航链接。
JSJ01-033@ASP.NET图书馆管理信息系统(源代码+论文).zip
JSJ01-033@ASP.NET图书馆管理信息系统(源代码+论文)
data
lib2004_Data.MDF
lib2004_Log.LDF
help
pic
png
_notes
back.gif
backup.gif
bookSearch.gif
dataman.gif
index.gif
lockSys.gif
login.gif
setcn.gif
shiwu.gif
user.gif
Templates
moban.dwt
backup.htm
brandRe.htm
dataman.htm
HTMLDefines.h
introduce.htm
kaifa.htm
library.chm
library.hhp
locksys.htm
login.htm
query.htm
shiwu.htm
sysSet.htm
Table of Contents.hhc
user.htm
icon
Winxp_Icons
00.gif
001.GIF
002.GIF
003.GIF
004.GIF
005.GIF
006.GIF
007.GIF
008.GIF
009.GIF
01.gif
010.GIF
011.GIF
012.GIF
013.GIF
014.GIF
015.GIF
016.GIF
017.GIF
018.GIF
019.GIF
02.gif
020.GIF
021.GIF
022.GIF
023.GIF
024.GIF
025.GIF
026.GIF
027.GIF
028.GIF
029.GIF
03.gif
030.GIF
031.GIF
032.GIF
033.GIF
034.GIF
035.GIF
036.GIF
037.GIF
038.GIF
039.GIF
04.gif
040.GIF
041.GIF
042.GIF
043.GIF
044.GIF
045.GIF
046.GIF
047.GIF
048.GIF
049.GIF
05.gif
050.GIF
051.GIF
052.GIF
053.GIF
054.GIF
055.GIF
056.GIF
057.GIF
058.GIF
059.GIF
06.gif
060.GIF
061.GIF
062.GIF
063.GIF
064.GIF
065.GIF
066.GIF
067.GIF
068.GIF
069.GIF
07.gif
070.GIF
071.GIF
072.GIF
073.GIF
074.GIF
075.GIF
076.GIF
077.GIF
078.GIF
079.GIF
08.gif
080.GIF
081.GIF
082.GIF
083.GIF
084.GIF
085.GIF
086.GIF
087.GIF
088.GIF
089.GIF
09.gif
090.GIF
091.GIF
092.GIF
093.GIF
094.GIF
095.GIF
096.GIF
097.GIF
098.GIF
099.GIF
10.gif
100.GIF
101.GIF
102.GIF
103.GIF
104.GIF
105.GIF
106.GIF
107.GIF
108.GIF
109.GIF
11.gif
110.GIF
111.GIF
112.GIF
113.GIF
114.GIF
115.GIF
116.GIF
117.GIF
118.GIF
119.GIF
12.gif
120.GIF
121.GIF
122.GIF
123.GIF
124.GIF
125.GIF
126.GIF
127.GIF
128.GIF
129.GIF
13.gif
130.GIF
131.GIF
132.GIF
133.GIF
134.GIF
135.GIF
136.GIF
137.GIF
138.GIF
139.GIF
14.gif
140.GIF
141.GIF
142.GIF
143.GIF
144.GIF
145.GIF
146.GIF
147.GIF
148.GIF
149.GIF
15.gif
150.GIF
151.GIF
152.GIF
153.GIF
154.GIF
155.GIF
156.GIF
157.GIF
158.GIF
159.GIF
16.gif
160.GIF
161.GIF
162.GIF
163.GIF
164.GIF
165.GIF
166.GIF
167.GIF
168.GIF
169.GIF
17.gif
170.GIF
171.GIF
172.GIF
173.GIF
174.GIF
175.GIF
176.GIF
177.GIF
178.GIF
179.GIF
18.gif
180.GIF
181.GIF
182.GIF
183.GIF
184.GIF
185.GIF
186.GIF
187.GIF
188.GIF
189.GIF
19.gif
190.GIF
191.GIF
192.GIF
193.GIF
194.GIF
195.GIF
196.GIF
197.GIF
198.GIF
199.GIF
20.gif
200.GIF
201.GIF
202.GIF
203.GIF
204.GIF
205.GIF
206.GIF
207.GIF
208.GIF
209.GIF
21.gif
210.GIF
211.GIF
212.GIF
213.GIF
214.GIF
215.GIF
216.GIF
217.GIF
218.GIF
219.GIF
22.gif
220.GIF
221.GIF
222.GIF
223.GIF
224.GIF
225.GIF
226.GIF
227.GIF
228.GIF
229.GIF
23.gif
230.GIF
231.GIF
232.GIF
233.GIF
234.GIF
235.GIF
236.GIF
237.GIF
238.GIF
239.GIF
24.gif
240.GIF
241.GIF
242.GIF
243.GIF
244.GIF
245.GIF
246.GIF
247.GIF
248.GIF
249.GIF
25.gif
250.GIF
251.GIF
252.GIF
253.GIF
254.GIF
255.GIF
256.GIF
257.GIF
258.GIF
259.GIF
26.gif
260.GIF
261.GIF
262.GIF
263.GIF
264.GIF
265.GIF
266.GIF
267.GIF
268.GIF
269.GIF
27.gif
270.GIF
271.GIF
272.GIF
273.GIF
274.GIF
275.GIF
276.GIF
277.GIF
278.GIF
279.GIF
28.gif
280.GIF
281.GIF
282.GIF
283.GIF
284.GIF
285.GIF
286.GIF
287.GIF
288.GIF
289.GIF
29.gif
290.GIF
291.GIF
292.GIF
293.GIF
294.GIF
295.GIF
296.GIF
30.gif
30s.gif
31.gif
32.gif
33.gif
34.gif
35.gif
Thumbs.db
xpicon
084.GIF
089.GIF
095.GIF
098.GIF
134.GIF
137.GIF
236.GIF
270.GIF
excel.ico
Book2.ico
Bookshelf.ico
cartoon01.ico
Charfx.ico
CheckBook.ico
DISK04.ICO
Edit.ico
exit.ICO
ie4.0buf.ico
ie4power.ico
info.ICO
KEY04.ICO
Key1.ico
Key2.ico
Key4.ico
KEYS03.ICO
LeapFTP.ico
lib.ICO
My Computer 2000.ico
NETHOOD.ICO
RECYFULL.ICO
sql.ICO
user.ico
W95MBX01.ICO
WindowsC.ico
WinRar.ico
lib2004
cninfo.xml
desktop.ICO
library.chm
lib2004Setup
Debug
Release
lib2004Setup.vdproj
library
全部代码.txt---(点击预览)
NeedRepair.txt---(点击预览)
config.txt---(点击预览)
AssemblyInfo.vb
booksort.resx
booksort.vb
CdataService.vb
crtBook.rpt
crtBook.vb
crtMaxDateAu.rpt
crtMaxDateAu.vb
crtSearchAu.rpt
crtSearchAu.vb
crtTop10Book.rpt
crtTop10Book.vb
CrystalReport1.rpt
CrystalReport1.vb
CrystalReport2.vb
CrystalReport3.vb
CsetCnInfo.vb
cstSearchAu.rpt
Dataset1.vb
Dataset1.xsd
Dataset1.xsx
desktop.ICO
dsAusot.vb
dsAusot.xsd
dsAusot.xsx
dsBook.vb
dsBook.xsd
dsbooksort.vb
dsbooksort.xsd
dsCountBookSort.vb
dsCountBookSort.xsd
dsCountBookSort.xsx
dsMaxdataAulist.vb
dsMaxdataAulist.xsd
dsMaxdataAulist.xsx
dsSearchAu.vb
dsSearchAu.xsd
dsSearchAu.xsx
dsSearchBook.vb
dsSearchBook.xsd
dsSearchBook.xsx
dsTop10book.vb
dsTop10book.xsd
dsTop10book.xsx
frmAboutUs.resx
frmAboutUs.vb
frmAddAu.resx
frmAddAu.vb
FrmAddBook.resx
FrmAddBook.vb
frmAuAllBorrowList.resx
frmAuAllBorrowList.vb
frmAuLost.resx
frmAuLost.vb
frmAuSort.resx
frmAuSort.vb
frmBackup.resx
frmBackup.vb
frmBase.resx
frmBase.vb
frmBookPlace.resx
frmBookPlace.vb
frmBookQuery.resx
frmBookQuery.vb
frmBookSort.resx
frmBookSort.vb
frmBorrowBook.resx
frmBorrowBook.vb
frmForfeit.resx
frmForfeit.vb
frmLibInfo.resx
frmLibInfo.vb
frmLockSystem.resx
frmLockSystem.vb
frmLogin.resx
frmLogin.vb
frmMain.resx
frmMain.vb
frmReturnBook.resx
frmReturnBook.vb
frmSearchAu.resx
frmSearchAu.vb
frmSet.resx
frmSet.vb
frmShowMaxAu.resx
frmShowMaxAu.vb
frmShowProgress.resx
frmShowProgress.vb
frmShowReport.resx
frmShowReport.vb
frmStatus.resx
frmStatus.vb
frmTest2.resx
frmTest2.vb
IconMenuItem.resx
IconMenuItem.vb
ie4power.ico
library.sln
library.suo
library.vbproj
library.vbproj.user
Module1.vb
mymenu.resx
mymenu.vb
mytextbox.resx
mytextbox.vb
rptCountBookSort.rpt
rptCountBookSort.vb
SystemSet.vb
test.resx
test.vb
{1E442581-8F18-4C50-8E02-61A2683780CF}.rpt
libSetup2
Debug
Release
libSetup2.vdproj
pic
back.gif
CIBAH.jpg
图片1.jpg
图片22.png
web
bin
lib2004.dll
lib2004.pdb
gifok
ok_38.gif
ok_39.gif
ok_40.gif
ok_44.gif
ok_50.gif
ok_55.gif
ok_58.gif
ok_63.gif
ok_64.gif
user.bmp
user.jpg
images
index_1.gif
index_10.gif
index_11.gif
index_12.gif
index_13.gif
index_14.gif
index_15.gif
index_16.gif
index_17.gif
index_18.gif
index_19.gif
index_2.gif
index_20.gif
index_21.gif
index_22.gif
index_23.gif
index_24.gif
index_25.gif
index_26.gif
index_27.gif
index_28.gif
index_29.gif
index_3.gif
index_30.gif
index_31.gif
index_32.gif
index_33.gif
index_34.gif
index_35.gif
index_36.gif
index_37.gif
index_38.gif
index_39.gif
index_4.gif
index_40.gif
index_41.gif
index_42.gif
index_43.gif
index_44.gif
index_45.gif
index_46.gif
index_47.gif
index_48.gif
index_49.gif
index_5.gif
index_50.gif
index_51.gif
index_52.gif
index_53.gif
index_54.gif
index_55.gif
index_56.gif
index_57.gif
index_58.gif
index_59.gif
index_6.gif
index_60.gif
index_61.gif
index_62.gif
index_63.gif
index_64.gif
index_65.gif
index_66.gif
index_67.gif
index_68.gif
index_69.gif
index_7.gif
index_70.gif
index_71.gif
index_72.gif
index_8.gif
index_9.gif
Key2.jpg
pic01_1.jpg
spacer.gif
Templates
gookmb.dwt
lastmob.dwt
moban.dwt
1.htm
aboutus.aspx
AssemblyInfo.vb
bookFind.htm
borrec.aspx
borrec.aspx.resx
borrec.aspx.vb
CheckLog.vb
css.css
curborr.aspx
curborr.aspx.resx
curborr.aspx.vb
default.aspx
default.aspx.resx
default.aspx.vb
editinfo.aspx
editinfo.aspx.resx
editinfo.aspx.vb
error.aspx
error.aspx.resx
error.aspx.vb
Global.asax
Global.asax.resx
Global.asax.vb
index.htm
lib2004.sln
lib2004.suo
lib2004.vbproj
lib2004.vbproj.webinfo
login.aspx
login.aspx.resx
login.aspx.vb
maxinfo.aspx
maxinfo.aspx.resx
maxinfo.aspx.vb
moban.htm
quebook.aspx
quebook.aspx.resx
quebook.aspx.vb
sessionf.aspx
sessionf.aspx.resx
sessionf.aspx.vb
showuser.htm
Styles.css
test.htm
Untitled-3.htm
userinfo.aspx
userinfo.aspx.resx
userinfo.aspx.vb
Web.config
WebForm1.aspx
WebForm1.aspx.resx
WebForm1.aspx.vb
yifk.aspx
yifk.aspx.resx
yifk.aspx.vb
模板文档用于修改错误模板.htm
论文
cninfo.xml
desktop.ICO
lib2004A.sql
压缩包内文档预览:(预览前20页/共233页)
预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图
编号:507818    类型:共享资源    大小:3.20MB    格式:ZIP    上传时间:2015-11-10 上传人:QQ28****1120 IP属地:辽宁
12
积分
关 键 词:
毕业设计计算机
资源描述:
JSJ01-033@ASP.NET图书馆管理信息系统(源代码+论文),毕业设计计算机
内容简介:
Imports System.Data.SqlClientborrec.aspx.vb本代码室borrec.aspx本窗体用来显示当前登陆读者的所有借书记录,包括还过的书和没有还过的书数学00-2班 翟靖轩 编写2004-5-20Public Class borrecInherits System.Web.UI.PageDim CnNO As Int32#Region Web 窗体设计器生成的代码 该调用是 Web 窗体设计器所必需的。Private Sub InitializeComponent()End SubProtected WithEvents dbgborrowlist As System.Web.UI.WebControls.DataGrid注意: 以下占位符声明是 Web 窗体设计器所必需的。不要删除或移动它。Private designerPlaceholderDeclaration As System.ObjectPrivate Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.InitCODEGEN: 此方法调用是 Web 窗体设计器所必需的不要使用代码编辑器修改它。InitializeComponent()End Sub#End RegionProperty countNo() As Int32Set(ByVal value As Int32)CnNO = valueEnd SetGetReturn CnNOEnd GetEnd PropertyPrivate Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load在此处放置初始化页的用户代码If Session(UID) Is Nothing ThenPage.Response.Redirect(login.aspx)ElseIf Not IsPostBack Thenmydatabind(Session(UID)End IfEnd IfEnd SubFunction mydatabind(ByVal strAu_id As String)Dim cnlib2004 As SqlConnectionDim cmdAuBorrowList As SqlCommandnts Dim dr As SqlDataReadercnlib2004 = New SqlConnection(ConfigurationSettings.AppSettings(cncstr)cmdAuBorrowList = New SqlCommandWith cmdAuBorrowList.CommandType = CommandType.StoredProcedure.CommandText = SelectAuAllBorrowList.Connection = cnlib2004End WithDim mAu_id As New SqlParameter(Au_id, SqlDbType.NVarChar, 50) 1cmdAuBorrowList.Parameters.Add(mAu_id)mAu_id.Value = strAu_idTrycnlib2004.Open()dr = cmdAuBorrowList.ExecuteReaderMe.dbgborrowlist.DataSource = drMe.dbgborrowlist.DataBind() Me.countNo = Me.dbgborrowlist.Items.CountMe.DataBind()Catch ex As ExceptionResponse.Redirect(error.aspx?errmsg= + ex.Message)Finallycnlib2004.Close()End TryEnd FunctionEnd ClassImports System.Data.SqlClientPublic Class CCheckLogPrivate Uid As StringPrivate pwd As StringPublic Sub New(ByVal U_id As String, ByVal P_wd As String)Me.Uid = U_idMe.pwd = P_wdEnd SubPublic Function IsLogSuc() As BooleanIf Uid Is Nothing ThenReturn FalseElseDim cn As New SqlConnection(ConfigurationSettings.AppSettings(cncstr)Dim cmd As New SqlCommandDim Islog As Int16 = 0With cmd.CommandType = CommandType.StoredProcedure.CommandText = SelectAuPwd.Connection = cnEnd Withnts Dim mAu_id As New SqlParameter(Au_id, SqlDbType.NVarChar)Dim mAu_password As New SqlParameter(Au_password, SqlDbType.NVarChar)With cmd.Parameters.Add(mAu_id).Add(mAu_password)End WithmAu_id.Value = UidmAu_password.Value = pwdTrycn.Open()Islog = cmd.ExecuteScalarIf Islog = 1 ThenReturn TrueElseReturn FalseEnd IfCatch ex As ExceptionReturn FalseThrow exFinallycn.Close()If Not cn Is Nothing Thencn.Dispose()End IfEnd TryEnd IfEnd FunctionEnd ClassImports System.Data.SqlClientPublic Class curborrInherits System.Web.UI.Page#Region Web 窗体设计器生成的代码 该调用是 Web 窗体设计器所必需的。Private Sub InitializeComponent()End SubProtected WithEvents dbgborrowlist As System.Web.UI.WebControls.DataGrid注意: 以下占位符声明是 Web 窗体设计器所必需的。不要删除或移动它。Private designerPlaceholderDeclaration As System.ObjectPrivate Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.InitCODEGEN: 此方法调用是 Web 窗体设计器所必需的不要使用代码编辑器修改它。InitializeComponent()End Sub#End Regionnts Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load在此处放置初始化页的用户代码If Session(UID) Is Nothing ThenPage.Response.Redirect(login.aspx)ElseIf Not IsPostBack Thenmydatabind(Session(UID)End IfEnd IfEnd SubFunction mydatabind(ByVal strAu_id As String)Dim cnlib2004 As SqlConnectionDim cmdAuBorrowList As SqlCommandDim dr As SqlDataReadercnlib2004 = New SqlConnection(ConfigurationSettings.AppSettings(cncstr)cmdAuBorrowList = New SqlCommandWith cmdAuBorrowList.CommandType = CommandType.StoredProcedure.CommandText = SelectAuBorrowListWeb.CommandText = SelectAuBorrowList.Connection = cnlib2004End WithDim mAu_id As New SqlParameter(Au_id, SqlDbType.NVarChar, 50) 1cmdAuBorrowList.Parameters.Add(mAu_id)mAu_id.Value = strAu_idTrycnlib2004.Open()dr = cmdAuBorrowList.ExecuteReaderMe.dbgborrowlist.DataSource = drMe.dbgborrowlist.DataBind()Catch ex As ExceptionResponse.Redirect(error.aspx?errmsg= + ex.Message)Finallycnlib2004.Close()End TryEnd FunctionEnd Class本页用来修改读者的email和密码Imports System.Data.SqlClientPublic Class editinfoInherits System.Web.UI.Page#Region Web 窗体设计器生成的代码 该调用是 Web 窗体设计器所必需的。Private Sub InitializeComponent()nts End SubProtected WithEvents Form1 As System.Web.UI.HtmlControls.HtmlFormProtected WithEvents txtPwd1 As System.Web.UI.WebControls.TextBoxProtected WithEvents txtPwdE1 As System.Web.UI.WebControls.TextBoxProtected WithEvents txtPwdE2 As System.Web.UI.WebControls.TextBoxProtected WithEvents btnSubmit As System.Web.UI.WebControls.ButtonProtected WithEvents txtEmail As System.Web.UI.WebControls.TextBoxProtected WithEvents btnEdit As System.Web.UI.WebControls.ButtonProtected WithEvents RequiredFieldValidator1 As System.Web.UI.WebControls.RequiredFieldValidatorProtected WithEvents RequiredFieldValidator2 As System.Web.UI.WebControls.RequiredFieldValidatorProtected WithEvents CompareValidator1 As System.Web.UI.WebControls.CompareValidatorProtected WithEvents lblMsg As System.Web.UI.WebControls.LabelProtected WithEvents lblgengg As System.Web.UI.WebControls.Label注意: 以下占位符声明是 Web 窗体设计器所必需的。不要删除或移动它。Private designerPlaceholderDeclaration As System.ObjectPrivate Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.InitCODEGEN: 此方法调用是 Web 窗体设计器所必需的不要使用代码编辑器修改它。InitializeComponent()End Sub#End RegionPrivate Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load在此处放置初始化页的用户代码If Session(UID) Is Nothing ThenPage.Response.Redirect(login.aspx)ElseIf Not IsPostBack ThenEnd IfEnd IfEnd SubPrivate Sub btnSubmit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSubmit.Click服务端验证不用写If Session(UID) Is Nothing ThenPage.Response.Redirect(login.aspx)End IfDim k As New CCheckLog(Session(UID), Me.txtPwd1.Text)If k.IsLogSuc = False ThenMe.lblMsg.Text = 密码错误!Me.lblMsg.Visible = TrueExit Subnts End IfDim cn As New SqlConnection(ConfigurationSettings.AppSettings(cncstr)Dim cmd As New SqlCommandWith cmd.CommandType = CommandType.StoredProcedure.CommandText = UpdateAuPwd.Connection = cnEnd WithDim mAu_id As New SqlParameter(Au_id, SqlDbType.NVarChar)Dim mAu_password As New SqlParameter(Au_password, SqlDbType.NVarChar)Dim mAu_Newpassword As New SqlParameter(Au_Newpassword, SqlDbType.NVarChar)With cmd.Parameters.Add(mAu_id).Add(mAu_password).Add(mAu_Newpassword)End WithmAu_id.Value = Session(UID)mAu_password.Value = Me.txtPwd1.Text.TrimmAu_Newpassword.Value = Me.txtPwdE1.Text.TrimTrycn.Open()cmd.ExecuteNonQuery()Me.lblMsg.Text = 更改成功!Me.lblMsg.Visible = TrueCatch ex As ExceptionResponse.Redirect(error.aspx?errmsg= + ex.Message)Finallycn.Close()If Not cn Is Nothing Thencn.Dispose()End IfEnd TryEnd SubPrivate Sub btnEdit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnEdit.Click服务端验证不用写If Session(UID) Is Nothing ThenPage.Response.Redirect(login.aspx)End IfDim cn As New SqlConnection(ConfigurationSettings.AppSettings(cncstr)Dim cmd As New SqlCommandWith cmd.CommandType = CommandType.StoredProcedure.CommandText = UpdateAuEmail.Connection = cnEnd WithDim mAu_id As New SqlParameter(Au_id, SqlDbType.NVarChar)nts Dim mAu_email As New SqlParameter(Au_email, SqlDbType.NVarChar)With cmd.Parameters.Add(mAu_id).Add(mAu_email)End WithmAu_id.Value = Session(UID)mAu_email.Value = Me.txtEmail.Text.TrimTrycn.Open()cmd.ExecuteNonQuery()Me.lblgengg.Text = 更改成功!Me.lblgengg.Visible = TrueCatch ex As ExceptionResponse.Redirect(error.aspx?errmsg= + ex.Message)Finallycn.Close()If Not cn Is Nothing Thencn.Dispose()End IfEnd TryEnd SubEnd ClassPublic Class _errorInherits System.Web.UI.Page#Region Web 窗体设计器生成的代码 该调用是 Web 窗体设计器所必需的。Private Sub InitializeComponent()End Sub注意: 以下占位符声明是 Web 窗体设计器所必需的。不要删除或移动它。Private designerPlaceholderDeclaration As System.ObjectPrivate Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.InitCODEGEN: 此方法调用是 Web 窗体设计器所必需的不要使用代码编辑器修改它。InitializeComponent()End Sub#End RegionPrivate Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load在此处放置初始化页的用户代码Page.Response.Write(Request(errmsg)End SubEnd ClassImports System.WebntsImports System.Web.SessionStatePublic Class GlobalInherits System.Web.HttpApplication#Region 组件设计器生成的代码 Public Sub New()MyBase.New()该调用是组件设计器所必需的。InitializeComponent()在 InitializeComponent() 调用之后添加任何初始化End Sub组件设计器所必需的Private components As System.ComponentModel.IContainer注意: 以下过程是组件设计器所必需的可以使用组件设计器修改此过程。不要使用代码编辑器修改它。Private Sub InitializeComponent()components = New System.ComponentModel.Container()End Sub#End RegionSub Application_Start(ByVal sender As Object, ByVal e As EventArgs) 在应用程序启动时激发End SubSub Session_Start(ByVal sender As Object, ByVal e As EventArgs) 在会话启动时激发End SubSub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs) 在每个请求开始时激发End SubSub Application_AuthenticateRequest(ByVal sender As Object, ByVal e As EventArgs) 尝试对使用进行身份验证时激发End SubSub Application_Error(ByVal sender As Object, ByVal e As EventArgs) 在发生错误时激发End SubSub Session_End(ByVal sender As Object, ByVal e As EventArgs) 在会话结束时激发End SubSub Application_End(ByVal sender As Object, ByVal e As EventArgs) 在应用程序结束时激发nts End SubEnd ClassImports System.Data.SqlClientPublic Class loginInherits System.Web.UI.Page#Region Web 窗体设计器生成的代码 该调用是 Web 窗体设计器所必需的。Private Sub InitializeComponent()End SubProtected WithEvents btnLogin As System.Web.UI.WebControls.ButtonProtected WithEvents Form1 As System.Web.UI.HtmlControls.HtmlFormProtected WithEvents txtAu_pwd As System.Web.UI.WebControls.TextBoxProtected WithEvents RequiredFieldValidator1 As System.Web.UI.WebControls.RequiredFieldValidatorProtected WithEvents lblIslog As System.Web.UI.WebControls.LabelProtected WithEvents txtAu_id As System.Web.UI.WebControls.TextBox注意: 以下占位符声明是 Web 窗体设计器所必需的。不要删除或移动它。Private designerPlaceholderDeclaration As System.ObjectPrivate Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.InitCODEGEN: 此方法调用是 Web 窗体设计器所必需的不要使用代码编辑器修改它。InitializeComponent()End Sub#End RegionPrivate Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load在此处放置初始化页的用户代码Response.Write(Me.ClientID)If Not Page.IsPostBack ThenMe.lblIslog.Visible = FalseEnd IfEnd SubPrivate Sub btnLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogin.ClickDim cLog As New CCheckLog(Me.txtAu_id.Text, Me.txtAu_pwd.Text)If cLog.IsLogSuc = True ThenSession(UID) = Me.txtAu_id.TextPage.Response.Redirect(userinfo.aspx)ElseMe.txtAu_pwd.Text = Me.txtAu_id.Text = Me.lblIslog.Text = 登陆失败!Me.lblIslog.Visible = TrueEnd Ifnts End SubEnd Class本代码用于 当前登陆读者的 借 记录Imports System.Data.SqlClientPublic Class maxinfoInherits System.Web.UI.Page#Region Web 窗体设计器生成的代码 该调用是 Web 窗体设计器所必需的。Private Sub InitializeComponent()End SubProtected WithEvents dbgborrowlist As System.Web.UI.WebControls.DataGrid注意: 以下占位符声明是 Web 窗体设计器所必需的。不要删除或移动它。Private designerPlaceholderDeclaration As System.ObjectPrivate Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.InitCODEGEN: 此方法调用是 Web 窗体设计器所必需的不要使用代码编辑器修改它。InitializeComponent()End Sub#End RegionPrivate Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load在此处放置初始化页的用户代码If Session(UID) Is Nothing ThenPage.Response.Redirect(login.aspx)ElseIf Not IsPostBack Thenmydatabind(Session(UID)End IfEnd IfEnd SubFunction mydatabind(ByVal strAu_id As String)Dim cnlib2004 As SqlConnectionDim cmdAuBorrowList As SqlCommandDim dr As SqlDataReadercnlib2004 = New SqlConnection(ConfigurationSettings.AppSettings(cncstr)cmdAuBorrowList = New SqlCommandWith cmdAuBorrowList.CommandType = CommandType.StoredProcedure.CommandText = Select1AuMaxDateBookList.Connection = cnlib2004End Withnts Dim mAu_id As New SqlParameter(Au_id, SqlDbType.NVarChar, 50) 1cmdAuBorrowList.Parameters.Add(mAu_id)mAu_id.Value = strAu_idTrycnlib2004.Open()dr = cmdAuBorrowList.ExecuteReaderMe.dbgborrowlist.DataSource = drMe.dbgborrowlist.DataBind()Catch ex As ExceptionResponse.Redirect(error.aspx?errmsg= + ex.Message)Finallycnlib2004.Close()End TryEnd FunctionEnd ClassImports System.Data.SqlClientPublic Class quebookInherits System.Web.UI.Page#Region Web 窗体设计器生成的代码 该调用是 Web 窗体设计器所必需的。Private Sub InitializeComponent()End SubProtected WithEvents Label1 As System.Web.UI.WebControls.LabelProtected WithEvents Label2 As System.Web.UI.WebControls.LabelProtected WithEvents Label3 As System.Web.UI.WebControls.LabelProtected WithEvents Label4 As System.Web.UI.WebControls.LabelProtected WithEvents Label5 As System.Web.UI.WebControls.LabelProtected WithEvents Label6 As System.Web.UI.WebControls.LabelProtected WithEvents Label7 As System.Web.UI.WebControls.LabelProtected WithEvents Label8 As System.Web.UI.WebControls.LabelProtected WithEvents Form1 As System.Web.UI.HtmlControls.HtmlFormProtected WithEvents Label9 As System.Web.UI.WebControls.LabelProtected WithEvents radAllBook As System.Web.UI.WebControls.RadioButtonProtected WithEvents radInlibBook As System.Web.UI.WebControls.RadioButtonProtected WithEvents txtBook_code As System.Web.UI.WebControls.TextBoxProtected WithEvents txtBook_name As System.Web.UI.WebControls.TextBoxProtected WithEvents txtBook_pub As System.Web.UI.WebControls.TextBoxProtected WithEvents txtBook_isbn As System.Web.UI.WebControls.TextBoxProtected WithEvents txtBook_author As System.Web.UI.WebControls.TextBoxProtected WithEvents dtpBook_pubdate As System.Web.UI.WebControls.TextBoxProtected WithEvents dbg As System.Web.UI.WebControls.DataGridProtected WithEvents btnQuery As System.Web.UI.WebControls.ButtonProtected WithEvents cboBook_sort As System.Web.UI.WebControls.DropDownListProtected WithEvents LabelInfo As System.Web.UI.WebControls.LabelProtected WithEvents RegularExpressionValidator1 As System.Web.UI.WebControls.RegularExpressionValidator注意: 以下占位符声明是 Web 窗体设计器所必需的。nts 不要删除或移动它。Private designerPlaceholderDeclaration As System.ObjectPrivate Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.InitCODEGEN: 此方法调用是 Web 窗体设计器所必需的不要使用代码编辑器修改它。InitializeComponent()End Sub#End RegionPrivate Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load在此处放置初始化页的用户代码If Not IsPostBack ThenBindComboBox1()End IfMe.DataBind()End SubFunction BindComboBox1()Dim cnLib2004 As SqlConnectionDim cmdbooksort As SqlCommandDim drBooksort As SqlDataReadercnLib2004 = New SqlConnection(ConfigurationSettings.AppSettings(cncstr)cmdbooksort = New SqlCommandWith cmdbooksort.CommandType = CommandType.StoredProcedure.Connection = cnLib2004.CommandText = selectBookSortEnd WithTrycnLib2004.Open()drBooksort = cmdbooksort.ExecuteReaderMe.cboBook_sort.DataSource = drBooksortMe.cboBook_sort.DataTextField = Book_sortMe.cboBook_sort.DataBind()Me.cboBook_sort.Items.Add( )Me.cboBook_sort.SelectedIndex = Me.cboBook_sort.Items.Count - 1Catch ex As ExceptionResponse.Redirect(error.aspx?errmsg= + ex.Message.Replace(Chr(13), )FinallycnLib2004.Close()End TryEnd FunctionFunction search()Dim cn As New SqlClient.SqlConnection(ConfigurationSettings.AppSettings(cncstr)Dim cmd As New SqlCommandnts Dim dr As SqlDataReaderWith cmdIf Me.radAllBook.Checked = True Then.CommandText = searchBookElse.CommandText = searchBookInlibEnd If.CommandType = CommandType.StoredProcedure.Connection = cnEnd WithDim mBook_code As New SqlParameter(Book_code, SqlDbType.NVarChar, 50) 1Dim mBook_name As New SqlParameter(Book_name, SqlDbType.NVarChar, 50) 2Dim mBook_pub As New SqlParameter(Book_pub, SqlDbType.NVarChar, 50) 3Dim mBook_isbn As New SqlParameter(Book_isbn, SqlDbType.NVarChar, 50) 4Dim mBook_pubdate As New SqlParameter(Book_pubdate, SqlDbType.SmallDateTime, 4) 5Dim mBook_author As New SqlParameter(Book_author, SqlDbType.NVarChar, 50) 6 Dim mBook_sort As New SqlParameter(Book_sort, SqlDbType.NVarChar, 50) 11With cmd.Parameters.Add(mBook_code).Add(mBook_name).Add(mBook_pub).Add(mBook_isbn).Add(mBook_pubdate).Add(mBook_author).Add(mBook_sort)End With mBook_code.Value = Me.txtBook_code.Text.Trim 1mBook_name.Value = Me.txtBook_name.Text.Trim 2mBook_pub.Value = Me.txtBook_pub.Text.Trim 3mBook_isbn.Value = Me.txtBook_isbn.Text.Trim 4If Me.dtpBook_pubdate.Text.Trim Me.cboBook_sort.Items.Count - 1 ThenmBook_sort.Value = Me.cboBook_sort.SelectedValue 11ElsemBook_sort.Value = End IfResponse.Write(mBook_sort.Value)nts Trycn.Open()dr = cmd.ExecuteReaderMe.dbg.DataSource = drMe.dbg.DataBind()Me.LabelInfo.Text = + Me.dbg.Items.Count.ToString + 记录 Me.Label8.Text = + ds.Tables(0).Rows.Count.ToString + 记录Catch ex As ExceptionResponse.Redirect(error.aspx?errmsg= + ex.Message.Replace(Chr(13), )Finallycn.Close()If Not cn Is Nothing Thencn.Dispose()End IfEnd TryEnd FunctionPrivate Sub btnQuery_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnQuery.ClickMe.search()End SubEnd ClassPublic Class sessionfInherits System.Web.UI.Page#Region Web 窗体设计器生成的代码 该调用是 Web 窗体设计器所必需的。Private Sub InitializeComponent()End Sub注意: 以下占位符声明是 Web 窗体设计器所必需的。不要删除或移动它。Private designerPlaceholderDeclaration As System.ObjectPrivate Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.InitCODEGEN: 此方法调用是 Web 窗体设计器所必需的不要使用代码编辑器修改它。InitializeComponent()End Sub#End RegionPrivate Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load在此处放置初始化页的用户代码Session.Abandon()Page.Response.Redirect(log
温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
提示  人人文库网所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。
关于本文
本文标题:JSJ01-033@ASP.NET图书馆管理信息系统(源代码+论文)
链接地址:https://www.renrendoc.com/p-507818.html

官方联系方式

2:不支持迅雷下载,请使用浏览器下载   
3:不支持QQ浏览器下载,请用其他浏览器   
4:下载后的文档和图纸-无水印   
5:文档经过压缩,下载后原文更清晰   
关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

网站客服QQ:2881952447     

copyright@ 2020-2025  renrendoc.com 人人文库版权所有   联系电话:400-852-1180

备案号:蜀ICP备2022000484号-2       经营许可证: 川B2-20220663       公网安备川公网安备: 51019002004831号

本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知人人文库网,我们立即给予删除!