日期:2014-05-17  浏览次数:20560 次

.net新手求助,使用C#做一个web页面的Demo
如题,该页面实现对一个个人信息的增、改、查、删等操作。

本人新手,求指点,越详细越好。

------解决方案--------------------
Default.aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>无标题页</title>
<style type="text/css">
.style1
{
}
.style2
{
width: 314px;
}
.style3
{
width: 204px;
height: 54px;
}
.style4
{
width: 314px;
height: 54px;
}
.style5
{
height: 54px;
}
.style6
{
width: 204px;
height: 26px;
}
.style7
{
width: 314px;
height: 26px;
}
.style8
{
height: 26px;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div align="center">

<table align="center" style="width: 57%; height: 390px;">
<tr>
<td class="style3">
</td>
<td class="style4">
<h2 style="width: 332px; height: 29px">
学生信息管理</h2>
</td>
<td class="style5">
</td>
</tr>
<tr>
<td class="style1">
&nbsp;<asp:Label ID="Label2" runat="server" Text="学生编号:"></asp:Label>
</td>
<td class="style2">
<asp:TextBox ID="TextBox1" runat="server" Width="200px"></asp:TextBox>
</td>
<td>
<asp:RadioButton ID="RadioButton1" runat="server" Text="按编号查询" />
</td>
</tr>
<tr>
<td class="style1">
<asp:Label ID="Label3" runat="server" Text="学生姓名:"></asp:Label>
</td>
<td class="style2">
<asp:TextBox ID="TextBox2" runat="server" Width="200px"></asp:TextBox>
</td>
<td>
<asp:RadioButton ID="RadioButton2" runat="server" Text="按姓名查询" />
</td>
</tr>
<tr>
<td class="style6">
<asp:Label ID="Label4" runat="server" Text="专业班级:"></asp:Label>
</td>
<td class="style7">
<asp:TextBox ID="TextBox3" runat="server" Width="200px"></asp:TextBox>
</td>
<td clas