温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:高校教师档案管理系统项目源码
当前文件:
TeacherFileProject/SciResearch/Research_hjqk.aspx,打开代码结构图
TeacherFileProject/SciResearch/Research_hjqk.aspx,打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Research_hjqk.aspx.cs" Inherits="SciResearch_Research_hjqk" %> 2
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4
5
<html xmlns="http://www.w3.org/1999/xhtml" > 6
<head runat="server"> 7
<title>无标题页</title> 8
</head> 9
<body topmargin="0" leftmargin="0"> 10
<form id="form1" runat="server"> 11
<table class="borderon" id="Table1" cellSpacing="0" cellPadding="0" width="95%" align =center border="0"> 12
<tr> 13
<td align="left" style="font-weight: bolder; font-size: 14px; height: 26px;" background="../Images/右侧总标头.jpg"> 14
15
科研工作 (获奖情况) 16
</td> 17
</table> 18
<table width="95%" border="0" cellpadding="3" cellspacing="1" align="center" ID="tabList" runat =server > 19
<tr align =center valign =top > 20
<td align =center > 21
<asp:GridView ID="gvList" runat="server" AutoGenerateColumns="False" CellPadding="4" 22
ForeColor="#333333" GridLines="None" Height="100%" Width="100%" AllowPaging="True" Font-Size="Small" PageSize="5" DataKeyNames ="id" OnRowDeleting="gvList_RowDeleting" OnRowUpdating="gvList_RowUpdating" OnPageIndexChanging="gvList_PageIndexChanging"> 23
<FooterStyle BackColor="#A6A1E0" Font-Bold="True" ForeColor="White" /> 24
<Columns> 25
<asp:TemplateField > 26
<ItemTemplate > 27
<asp:LinkButton CommandName ="delete" Text ="删除" ID ="lnkbtnDelete" runat =server ></asp:LinkButton> 28
</ItemTemplate> 29
</asp:TemplateField> 30
<asp:TemplateField > 31
<ItemTemplate > 32
<asp:LinkButton CommandName ="update" Text ="修改" ID ="lnkbtnUpdate" runat =server ></asp:LinkButton> 33
</ItemTemplate> 34
</asp:TemplateField> 35
<asp:HyperLinkField DataNavigateUrlFields="owner" DataTextField ="userid" HeaderText ="姓名" DataNavigateUrlFormatString="~/PersonRecord/MyProfile.aspx?id={0}" /> 36
<asp:BoundField DataField="name" HeaderText="获奖名称" /> 37
<asp:BoundField DataField="lessonName" HeaderText="获奖项目名称" /> 38
<asp:BoundField DataField="author" HeaderText="主持人" /> 39
<asp:BoundField DataField="worker" HeaderText="合作者" /> 40
<asp:BoundField DataField="startendTime" HeaderText="时间" /> 41
<asp:BoundField DataField="unit" HeaderText="授予单位" /> 42
<asp:BoundField DataField="Froming" HeaderText="备注" /> 43
<asp:BoundField DataField="yearinfo" HeaderText="年度" /> 44
<asp:BoundField DataField="adder" HeaderText="添加人" /> 45
<asp:BoundField DataField="changer" HeaderText="修改人" /> 46
</Columns> 47
<RowStyle BackColor="#E8E7F9" ForeColor="#333333" /> 48
<EditRowStyle BackColor="#E8E7F9" /> 49
<SelectedRowStyle BackColor="#E8E7F9" Font-Bold="True" ForeColor="#333333" /> 50
<PagerStyle BackColor="#A6A1E0" ForeColor="White" HorizontalAlign="Center" /> 51
<HeaderStyle BackColor="#A6A1E0" Font-Bold="True" ForeColor="White" /> 52
<AlternatingRowStyle BackColor="White" ForeColor="#284775" /> 53
</asp:GridView><asp:Button ID="btnAddList" runat="server" Text="添加" OnClick="btnAddList_Click1" /> 54
</td> 55
</tr> 56
</table> 57
<table cellSpacing="0" cellPadding="0" border="0" height="80%" width="100%" ID="tabAdd" runat =server > 58
<tr> 59
<td vAlign="top" style="height: 50px"> 60
<ol style="line-height:150%"> 61
<li style="font-size: smaller">添加教师的科研工作的获奖情况资料(包括成果、论文获奖以及其他科研获奖情况) </li> 62
<li style="font-size: smaller">要求必须输入真实的资料</li> 63
</ol> 64
</td> 65
</tr> 66
<tr> 67
<td align="left" valign="top" style="height: 422px"> 68
69
<table width="90%" border="0" cellpadding="4" cellspacing="1" bgcolor="#000000" align="center" ID="Table4" style="font-size: smaller"> 70
<tr style="BACKGROUND-IMAGE: url('Images/title1.gif');"> 71
<td colspan="2" align="center" bgcolor="#A6A1E0" style="background-image: url('')"><b> 科 研 工 作 的 获 奖 情 况 资 料 添 加</b></td> 72
</tr> 73
<tr> 74
<td bgcolor="#E8E7F9" align =center > 75
<b>姓 名:</b></td> 76
<td bgcolor="#FFFFFF"> 77
<asp:DropDownList ID="ddlAName" runat="server" AutoPostBack="True" /></td> 78
</tr> 79
<tr> 80
<td bgcolor="#E8E7F9" width="30%" align =center > 81
<b>获奖名称:</b></td> 82
<td bgcolor="#FFFFFF"> 83
<asp:TextBox ID="txtAName" runat="server" Width="384px"></asp:TextBox></td> 84
</tr> 85
<tr> 86
<td bgcolor="#E8E7F9" width="30%" align =center > 87
<b>获奖项目名称:</b></td> 88
<td bgcolor="#FFFFFF"> 89
<asp:TextBox ID="txtALessonName" runat="server" Width="384px"></asp:TextBox></td> 90
</tr> 91
<tr> 92
<td bgcolor="#E8E7F9" width="30%" align =center > 93
<b>主持人:</b></td> 94
<td bgcolor="#FFFFFF"> 95
<asp:TextBox ID="txtAAuthor" runat="server" Width="384px"></asp:TextBox></td> 96
</tr> 97
<tr> 98
<td bgcolor="#E8E7F9" align =center > 99
<b>合作者:</b></td> 100
<td bgcolor="#FFFFFF"> 101
<asp:TextBox ID="txtAWorker" runat="server" Width="384px"></asp:TextBox></td> 102
</tr> 103
<tr> 104
<td bgcolor="#E8E7F9" align =center > 105
<b>时 间:</b></td> 106
<td bgcolor="#FFFFFF"> 107
<asp:TextBox ID="txtAStartEndTime" runat="server" Width="384px"></asp:TextBox></td> 108
</tr> 109
<tr> 110
<td bgcolor="#E8E7F9" align =center > 111
<b>授予单位:</b></td> 112
<td bgcolor="#FFFFFF"> 113
<asp:TextBox ID="txtAUnit" runat="server" Width="384px"></asp:TextBox></td> 114
</tr> 115
<tr> 116
<td bgcolor="#E8E7F9" align =center > 117
<b>备 注:</b></td> 118
<td bgcolor="#FFFFFF"> 119
<asp:TextBox ID="txtAFroming" runat="server" Height="67px" TextMode="MultiLine" Width="384px"></asp:TextBox></td> 120
</tr> 121
<tr> 122
<td bgcolor="#E8E7F9" align =center> 123
<b>年 度:</b></td> 124
<td bgcolor="#FFFFFF"> 125
<asp:DropDownList ID="ddlAYearInfo" runat="server"> 126
</asp:DropDownList></td> 127
</tr> 128
<tr> 129
<td bgcolor="#A6A1E0" align="center" colspan="2"> 130
<asp:Button ID="btnAdd" runat="server" Text="添加" OnClick="btnAdd_Click" /> 131
<asp:Button ID="btnReset" runat="server" Text="重置" OnClick="btnReset_Click" /></td> 132
</tr> 133
</table> 134
</td> 135
</tr> 136
</table> 137
<table cellSpacing="0" cellPadding="0" border="0" height="80%" width="100%" ID="tabUpdate" runat =server > 138
<tr> 139
<td vAlign="top" height="50"> 140
<ol style="line-height:150%"> 141
<li style="font-size: smaller">修改教师的科研工作的获奖情况资料(包括成果、论文获奖以及其他科研工作获奖情况) </li> 142
<li style="font-size: smaller"> 143
要求必须输入真实的资料</li> 144
</ol> 145
</td> 146
</tr> 147
<tr> 148
<td align="left" valign="top"> 149
<table width="90%" border="0" cellpadding="4" cellspacing="1" bgcolor="#000000" align="center" 150
ID="Table6" style="font-size: smaller"> 151
<tr style="BACKGROUND-IMAGE: url('Images/title1.gif');"> 152
<td colspan="2" align="center" bgcolor="#A6A1E0" style="background-image: url('')"><b>科 研 工 作 的 获 奖 情 况 资 料 修 改</b></td> 153
</tr> 154
<tr> 155
<td bgcolor="#E8E7F9" align =center > 156
<b>姓 名:</b></td> 157
<td bgcolor="#FFFFFF"> 158
<asp:TextBox ID="txtName" runat="server" ReadOnly="True" Width="392px"></asp:TextBox> 159
<asp:Label ID="labValue" runat="server" Text="Label" Visible="False"></asp:Label></td> 160
</tr> 161
<tr> 162
<td bgcolor="#E8E7F9" width="30%" align =center > 163
<b>获奖名称:</b></td> 164
<td bgcolor="#FFFFFF"> 165
<asp:TextBox ID="txtUName" runat="server" Width="384px"></asp:TextBox></td> 166
</tr> 167
<tr> 168
<td bgcolor="#E8E7F9" width="30%" align =center > 169
<b>获奖项目名称:</b></td> 170
<td bgcolor="#FFFFFF"> 171
<asp:TextBox ID="txtULessonName" runat="server" Width="384px"></asp:TextBox></td> 172
</tr> 173
<tr> 174
<td bgcolor="#E8E7F9" width="30%" align =center > 175
<b>主持人:</b></td> 176
<td bgcolor="#FFFFFF"> 177
<asp:TextBox ID="txtUAuthor" runat="server" Width="384px"></asp:TextBox></td> 178
</tr> 179
<tr> 180
<td bgcolor="#E8E7F9" align =center > 181
<b>合作者:</b></td> 182
<td bgcolor="#FFFFFF"> 183
<asp:TextBox ID="txtUWorker" runat="server" Width="384px"></asp:TextBox></td> 184
</tr> 185
<tr> 186
<td bgcolor="#E8E7F9" align =center > 187
<b>时 间:</b></td> 188
<td bgcolor="#FFFFFF"> 189
<asp:TextBox ID="txtUStartEndTime" runat="server" Width="384px"></asp:TextBox></td> 190
</tr> 191
<tr> 192
<td bgcolor="#E8E7F9" align =center > 193
<b>授予单位:</b></td> 194
<td bgcolor="#FFFFFF"> 195
<asp:TextBox ID="txtUUnit" runat="server" Width="384px"></asp:TextBox></td> 196
</tr> 197
<tr> 198
<td bgcolor="#E8E7F9" align =center > 199
<b>备 注:</b></td> 200
<td bgcolor="#FFFFFF"> 201
<asp:TextBox ID="txtUFroming" runat="server" Height="61px" TextMode="MultiLine" Width="384px"></asp:TextBox></td> 202
</tr> 203
<tr> 204
<td bgcolor="#E8E7F9" align =center > 205
<b>年 度:</b></td> 206
<td bgcolor="#FFFFFF"> 207
<asp:DropDownList ID="ddlUYearInfo" runat="server"> 208
</asp:DropDownList></td> 209
</tr> 210
<tr> 211
<td bgcolor="#A6A1E0" align="center" colspan="2"> 212
<asp:Button ID="btnUpdate" runat="server" Text="修改" OnClick="btnUpdate_Click" /> 213
</td> 214
</tr> 215
</table> 216
</td> 217
</tr> 218
</table> 219
</form> 220
</body> 221
</html> 222


