第二部分如何存入数据库?
detail.aspx页
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default3.aspx.cs" Inherits="Default3" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<TABLE height=20 cellSpacing=0 cellPadding=0 width=644 border=0>
<TBODY>
<TR>
<TD style="height: 273px">
<TABLE cellSpacing=0 cellPadding=0 width=644 border=0>
<TBODY>
<TR>
<TD></TD></TR>
<TR>
<TD vAlign=top align=middle >
<TABLE cellSpacing=0 cellPadding=0 width=640 border=0>
<TBODY>
<TR>
<TD align=middle width=423>
<asp:ImageMap ID="ImageMapPhoto" runat="server" ImageUrl="" ></asp:ImageMap></TD>
<TD vAlign=top width=217>
<TABLE cellSpacing=4 cellPadding=0 width=211
bgColor=#f8f8f8 border=0>
<TBODY>
<TR>
<TD class=zi3 style="COLOR: #666" align=left
bgColor=#ffffff
height=35> 名 称:<asp:TextBox ID="Txtname" runat="server" Width="116px"></asp:TextBox></TD></TR>
<TR>
<TD class=zi3 style="COLOR: #666" align=left
bgColor=#ffffff height=35> 净含量:<asp:TextBox ID="Txtjhl" runat="server" Width="116px"></asp:TextBox></TD></TR>
<TR>
<TD class=zi3 style="COLOR: #666" align=left
bgColor=#ffffff height=35> 零售价:<asp:TextBox ID="Txtprice" runat="server" Width="116px"></asp:TextBox></TD></TR>
<TR>
<TD class=zi3 style="COLOR: #666" align=left
bgColor=#ffffff
height=35>
</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE height=26 cellSpacing=0 cellPadding=0 width=630
border=0>
<TBODY>
<TR>
<TD></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=572 border=0>
<TBODY>
<TR>
<TD align=left>
<DIV class=ProContent><FONT
face=Arial> </FONT></DIV></TD></TR>
<TR>
<TD><asp:textbox id="txtdetail" runat="server" Width="307px" Height="89px" TextMode="MultiLine" >></asp:textbox>
</TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD style="height: 12px"></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
</asp:Content>