温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:高校教师档案管理系统项目源码
当前文件:
TeacherFileProject/SciResearch/Research_zykt.aspx,打开代码结构图
TeacherFileProject/SciResearch/Research_zykt.aspx,打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Research_zykt.aspx.cs" Inherits="SciResearch_Research_zykt" %> 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> 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" OnRowDeleting="gvList_RowDeleting" OnRowUpdating="gvList_RowUpdating" DataKeyNames ="id" 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="startendTime" HeaderText="起止年月" /> 38
<asp:BoundField DataField="unit" HeaderText="资助金额" /> 39
<asp:BoundField DataField="Froming" HeaderText="项目来源" /> 40
<asp:BoundField DataField="author" HeaderText="主持人" /> 41
<asp:BoundField DataField="worker" HeaderText="合作人" /> 42
<asp:BoundField DataField="yearInfo" HeaderText="年度" /> 43
<asp:BoundField DataField="adder" HeaderText="添加人" /> 44
<asp:BoundField DataField="changer" HeaderText="修改人" /> 45
</Columns> 46
<RowStyle BackColor="#E8E7F9" ForeColor="#333333" /> 47
<EditRowStyle BackColor="#E8E7F9" /> 48
<SelectedRowStyle BackColor="#E8E7F9" Font-Bold="True" ForeColor="#333333" /> 49
<PagerStyle BackColor="#A6A1E0" ForeColor="White" HorizontalAlign="Center" /> 50
<HeaderStyle BackColor="#A6A1E0" Font-Bold="True" ForeColor="White" /> 51
<AlternatingRowStyle BackColor="White" ForeColor="#284775" /> 52
</asp:GridView> 53
<asp:Button ID="btnAddList" runat="server" OnClick="btnAddList_Click" Text="添加" /> 54
</td> 55
</tr> 56
</table> 57
<table 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"> 68
<table width="90%" border="0" cellpadding="4" cellspacing="1" bgcolor="#000000" align="center" ID="Table4" style="font-size: smaller"> 69
<tr> 70
<td colspan="2" align="center" bgcolor="#A6A1E0"><b>科 研 工 作 的 在 研 课 题 资 料 添 加</b></td> 71
</tr> 72
<tr> 73
<td bgcolor="#E8E7F9" align =center > 74
<b>姓 名:</b></td> 75
<td bgcolor="#FFFFFF"> 76
<asp:DropDownList ID="ddlAName" runat="server" AutoPostBack="True" /></td> 77
</tr> 78
<tr > 79
<td bgcolor="#E8E7F9" width="30%" align =center > 80
<b>项目名称:</b></td> 81
<td bgcolor="#FFFFFF" > 82
<asp:TextBox ID="txtAName" runat="server" Width="387px"></asp:TextBox><br> 83
格式:人工智能</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="txtAStartEndTime" runat="server" Width="387px"></asp:TextBox><br> 90
格式:2001.9.28 — 2005.7.28</td> 91
</tr> 92
<tr> 93
<td bgcolor="#E8E7F9" width="30%" align =center> 94
<b>资助金额:</b></td> 95
<td bgcolor="#FFFFFF"> 96
<asp:TextBox ID="txtAUnit" runat="server" Width="387px"></asp:TextBox><br> 97
格式:¥10000.00</td> 98
</tr> 99
<tr> 100
<td bgcolor="#E8E7F9" align =center> 101
<b>项目来源:</b></td> 102
<td bgcolor="#FFFFFF"> 103
<asp:TextBox ID="txtAFroming" runat="server" Width="387px"></asp:TextBox><br> 104
格式:科技大学</td> 105
</tr> 106
<tr> 107
<td bgcolor="#E8E7F9" valign="top" align =center> 108
<b>主持人:</b></td> 109
<td bgcolor="#FFFFFF"> 110
<asp:TextBox ID="txtAAuthor" runat="server" Width="387px"></asp:TextBox></td> 111
</tr> 112
<tr> 113
<td bgcolor="#E8E7F9" align =center> 114
<b>合作人:</b></td> 115
<td bgcolor="#FFFFFF"> 116
<asp:TextBox ID="txtAWorker" runat="server" Width="387px"></asp:TextBox></td> 117
</tr> 118
<tr> 119
<td bgcolor="#E8E7F9" align =center> 120
<b>年 度:</b></td> 121
<td bgcolor="#FFFFFF"> 122
<asp:DropDownList ID="ddlAYearInfo" runat="server"> 123
</asp:DropDownList></td> 124
</tr> 125
<tr> 126
<td bgcolor="#A6A1E0" align="center" colspan="2"> 127
<asp:Button ID="btnAdd" runat="server" Text="添加" OnClick="btnAdd_Click" /> 128
<asp:Button ID="btnReset" runat="server" Text="重置" OnClick="btnReset_Click" /></td> 129
</tr> 130
</table> 131
</td> 132
</tr> 133
</table> 134
<table height="80%" width="100%" ID="tabUpdate" runat =server > 135
<tr> 136
<td vAlign="top" height="50"> 137
<ol style="line-height:150%"> 138
<li style="font-size: smaller">修改教师的科研工作的在研课题资料</li> 139
<li style="font-size: smaller"> 140
要求必须输入真实的资料</li> 141
</ol> 142
</td> 143
</tr> 144
<tr> 145
<td align="left" valign="top"> 146
<table width="90%" border="0" cellpadding="4" cellspacing="1" bgcolor="#000000" align="center" ID="Table6" style="font-size: smaller"> 147
148
<tr> 149
<td colspan="2" align="center" bgcolor="#A6A1E0"><b>科 研 工 作 的 在 研 课 题 资 料 修 改</b></td> 150
</tr> 151
<tr> 152
<td bgcolor="#E8E7F9" align =center > 153
<b>姓 名:</b></td> 154
<td bgcolor="#FFFFFF"> 155
<asp:TextBox ID="txtName" runat="server" ReadOnly="True" Width="392px"></asp:TextBox> 156
<asp:Label ID="labValue" runat="server" Text="Label" Visible="False"></asp:Label></td> 157
</tr> 158
<tr> 159
<td bgcolor="#E8E7F9" width="30%" align="center"> 160
<b>课题名称:</b></td> 161
<td bgcolor="#FFFFFF"> 162
<asp:TextBox ID="txtUName" runat="server" Width="386px"></asp:TextBox><br> 163
格式:人工智能</td> 164
</tr> 165
<tr> 166
<td bgcolor="#E8E7F9" width="30%" align="center"> 167
<b>起止年月:</b></td> 168
<td bgcolor="#FFFFFF"> 169
<asp:TextBox ID="txtUStartEndTime" runat="server" Width="386px"></asp:TextBox><br> 170
格式:2001.9.28 — 2005.7.28</td> 171
</tr> 172
<tr> 173
<td bgcolor="#E8E7F9" width="30%" align="center"> 174
<b>资助金额:</b></td> 175
<td bgcolor="#FFFFFF"> 176
<asp:TextBox ID="txtUUnit" runat="server" Width="386px"></asp:TextBox><br> 177
格式:¥10000.00</td> 178
</tr> 179
<tr> 180
<td bgcolor="#E8E7F9" align="center"> 181
<b>项目来源:</b></td> 182
<td bgcolor="#FFFFFF"> 183
<asp:TextBox ID="txtUFroming" runat="server" Width="386px"></asp:TextBox><br> 184
格式:科技大学</td> 185
</tr> 186
<tr> 187
<td bgcolor="#E8E7F9" valign="top" align="center"> 188
<b>主持人:</b></td> 189
<td bgcolor="#FFFFFF"> 190
<asp:TextBox ID="txtUAuthor" runat="server" Width="386px"></asp:TextBox></td> 191
</tr> 192
<tr> 193
<td bgcolor="#E8E7F9" align="center"> 194
<b>合作人:</b></td> 195
<td bgcolor="#FFFFFF"> 196
<asp:TextBox ID="txtUWorker" runat="server" Width="386px"></asp:TextBox></td> 197
</tr> 198
<tr> 199
<td bgcolor="#E8E7F9" align="center"> 200
<b>年 度:</b></td> 201
<td bgcolor="#FFFFFF"> 202
<asp:DropDownList ID="ddlUYearInfo" runat="server"> 203
</asp:DropDownList></td> 204
</tr> 205
<tr> 206
<td bgcolor="#A6A1E0" align="center" colspan="2"> 207
<asp:Button ID="btnUpdate" runat="server" Text="修改" OnClick="btnUpdate_Click" /></td> 208
</tr> 209
</table> 210
</td> 211
</tr> 212
</table> 213
</form> 214
</body> 215
</html> 216



