Upload
ruan
View
214
Download
2
Embed Size (px)
Citation preview
Design and Implementation of Graduation Thesis Topics System Based on two-way Choice
RUAN GuoLong School of Electronic and Information Engineering
Xianning University Xianning, China [email protected]
Abstract—According to the current management problems of college graduate thesis, combining with the undergraduate graduation thesis management regulations and concrete implementation process in our university, This paper analyzes the graduation thesis selecting system functions which based on the web , designs and implements a thesis topic selecting system based on two-way choice between teachers and students, also emphasizes on explaining the information batch introduction of teachers and students, students' primary choices and teachers’ confirm, browse and export of students’ selected topic situation, statistic of relevant information and extra main function of realization process of the system.
Keywords- graduation thesis selection system; two-way selection; web; design
I.
21
Web
II.
A.
B.
5
3060978-1-61284-459-6/11/$26.00 ©2011 IEEE
III.
A.
/
/ 1
1
B.
Access
IP
IV.
A.
ExcelExcel
Excel
2
3061
2
ExcelExcel
upload_5xsoft.inc
dim action,excelpath,sheet,edate
action=trim(request.querystring("action"))
excelpath=trim(request.form("excelpath"))
sheet=trim(request.form("sheet"))
select case action
case "daoru":call exctoacc(excelpath,sheet)
end select
function exctoacc(excpath,sheet)
Dim excConn,Coon
Dim excStrConn,strConn
Dim excrs,rs
Dim excSql
Set excconn=Server.CreateObject("ADODB.Connection")
Set excrs = Server.CreateObject("ADODB.Recordset")
excStrConn="Driver={Microsoft Excel Driver (*.xls)};DriverId=790; DBQ="&Server.MapPath(excpath)
excconn.Open excStrConn
excSql="select * from ["&sheet&"$]" ' excel
excrs.Open excSql,excconn,2,2
set rs=server.createObject("ADODB.Recordset")
sql="select * from [student_info]" ' Access
rs.open sql,conn,1,3
do while Not excrs.EOF
rs.addnew
for i=0 to excrs.Fields.Count-1
rs(i+1)=excrs(i)
next
rs("st_pass")=md5(excrs(excrs.Fields.Count-2))
rs.update
excrs.MoveNext
Loop
rs.close
set rs=nothing
excrs.close
set excrs=nothing
excConn.close
set excConn=nothing
conn.close
set conn=nothing
response.write "<script language=javascript>"
response.write "alert('Excel');"
response.write "location.href='student_Padd.asp';"
response.write "</script>"
End function
B.
55
3
3
C.
4
3062
4
<%if rsobj("selt.Sel_flag")=false then%>
<a href="#" onClick="javascript:if(confirm(''))href='task_add.asp?Action=yes&scid=<%=rsobj("selt.St_number")%>&ID=<%=rsobj("sel.Sel_id")%>&txtpage=<%=page%>'"><font color='#330099'> </font></a>
<%else%>
<a href="#" onClick="javascript:if(confirm(''))href='task_add.asp?Action=del&scid=<%=rsobj
("selt.St_number")%>&ID=<%=rsobj("sel.Sel_id")%>&txtpage=<%=page%>'"><font color='#FF0000'> (
)</font></a>
<%end if%>
D.
5 8
5
6
7
8
<table width="100%" border="0" bgcolor="#6298E1">
<tr>
<td > </td>
<td > </td>
<td > ID</td>
<td > </td>
<td > </td>
<td> </td>
<td > </td>
<td > </td>
</tr>
<%set rsobj=server.CreateObject("adodb.recordset")
sql = "select * from select_true selt,select_cursor sel,teacher_inf tea,student_info stu,speciality sp where sp.sp_id=sel.sp_id and selt.Tea_id=tea.Tea_id and selt.St_number=stu.St_number and selt.sel_flag=True and selt.sel_id=sel.sel_id "&wh&" order by selt.St_number asc"
rsobj.open sql,conn ,1,1
%>
<tr>
<td><%=rsobj("selt.St_number")%></td>
<td><%=rsobj("St_name")%></td>
<td><%=rsobj("sel.Sel_id")%></td>
<td><%=rsobj("Sel_name")%></td>
<td><%=rsobj("Tea_name")%></td>
3063
<td><%=rsobj("Sel_cour")%></td>
<td>><%=rsobj("Sp_name")%></td>
<td> </td>
</tr>
<%
rsobj.movenext
next
%>
</table>
E.
9
9
set rsd=server.CreateObject("adodb.recordset")
sql = "select count(*) as num from sel_record where tea_id="& "'"&teaobj("tea_id")& "'" &" and sp_id="&"'"&"01"&"'"
rsd.open sql,conn ,1,1
response.Write(rsd("num"))
rsd.close
V.
2011 200
REFERENCES [1] WANG Wen, MA Xiu-feng. Design and Application of Graduation
Thesis Selection System Based on Web. Computer Education No.4. pp.104-407,Feb 2010 (In Chinese).
[2] YANG Ling-yun. Design and Implementation of Graduation Thesis Topics System Based on .Net . Computer Era, No.3 2010 (In Chinese).
[3] LIAO De-sheng,LI Jian-wei,WANG Xiao-jun. Design of a Lead-based Model Graduation Thesis Management System for Distance Education. Journal of Beijing University of Posts and Telecommunications(Social Sciences Edition), No3 2010 (In Chinese)
[4] FU Shengzou, CHE Yanbin. Design of Graduation Thesis Management System Based on ASP. Fujian Computer, 2009,25(6) (In Chinese)
[5] XIAO Xiang, BAI Xue. Study on Graduation Thesis Design Mode of Management Specialty in the Construction of Research University. http://www.seiofbluemountain.com/search/detail.php?id=1399, 2008
3064