![]() |
#2
hu9jj2012-10-29 21:02
|

<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Administrator/MasterPage.master"
CodeFile="ProductsEdit.aspx.cs" Inherits="ProductsEdit" Title="编辑页" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<table cellspacing="1" cellpadding="0" width="100%" class="formitem">
<caption>
编辑产品</caption>
<tr>
<th>
产品名称:
</th>
<td>
<asp:TextBox ID="txtTitle" runat="server" Style="width: 61%"></asp:TextBox>
</td>
</tr>
<tr>
<th>
产品分类:
</th>
<td>
<asp:DropDownList ID="ddlType" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlType_SelectedIndexChanged">
</asp:DropDownList>
<asp:DropDownList ID="DropDownList1" runat="server">
</asp:DropDownList>
</td>
</tr>
<tr>
<th>
产品型号 :
</th>
<td>
<asp:TextBox ID="txtModel" runat="server" Style="width: 61%"></asp:TextBox>
</td>
</tr>
<tr>
<th>
图片<%--(最佳尺寸:宽:344px;高:198px;)--%>
</th>
<td>
<BinCoder:UploadTools ID="CtrlBpic" runat="server" Action="doubleThumbnail" FilePath="../Attachs/Pic/"
DoubleThumbnailSize="210*160|700*420" TxtID="txtFileName1" ImgPruId="imgbpic">
</BinCoder:UploadTools>
<img src="" id="imgbpic" alt="" />
</td>
</tr>
<tr>
<th>
点击量:
</th>
<td>
<asp:TextBox ID="TextBox1" runat="server" Text="0" Style="width: 61%" ReadOnly="True"></asp:TextBox>
</td>
</tr>
<tr>
<th>
排序:
</th>
<td>
<asp:TextBox ID="txtorder" runat="server" Text="0" Style="width: 61%" ></asp:TextBox>
</td>
</tr>
<%--<tr>
<th>
小图:(宽:125px;高:115px;)
</th>
<td>
<BinCoder:UploadTools ID="CtrlSpic" runat="server" Action="sourceFiles" FilePath="../Attachs/Pic/"
TxtID="txtFileName2" ImgPruId="imgspic">
</BinCoder:UploadTools>
<img src="" id="imgspic" alt="" />
</td>
</tr>--%>
<tr>
<th>
产品介绍:
</th>
<td>
<BinCoder:FCKeditor ID="txtDetail" Width="87%" runat="server" />
</td>
</tr>
<tr style="display:none;">
<th>
产品图片:
</th>
<td>
<BinCoder:FCKeditor ID="FCKeditor1" Width="87%" runat="server" />
</td>
</tr>
<tr>
<th>
产品参数:
</th>
<td>
<BinCoder:FCKeditor ID="FCKeditor2" Width="87%" runat="server" />
</td>
</tr>
<tr>
<th>
产品规格:
</th>
<td>
<BinCoder:FCKeditor ID="FCKeditor3" Width="87%" runat="server" />
</td>
</tr>
<tr>
<th>
添加时间:
</th>
<td>
<asp:TextBox ID="txtAddTime" runat="server" Style="width: 61%" CssClass="txt_calendar"></asp:TextBox>
</td>
</tr>
<tr>
<th style="width: 10%">
是否推荐首页:
</th>
<td>
<asp:CheckBox ID="chkIsHot" runat="server" />
</td>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" class="formitem_pagestyle">
<tr>
<td class="pagebutton">
<asp:Button ID="btnEdit" runat="server" Text="提 交" OnClick="btnEdit_Click"></asp:Button>
<input id="btnBack" class="btnblue" onclick="javascript:history.back()" type="button"
value="返回" />
</td>
</tr>
</table>
</asp:Content>
CodeFile="ProductsEdit.aspx.cs" Inherits="ProductsEdit" Title="编辑页" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<table cellspacing="1" cellpadding="0" width="100%" class="formitem">
<caption>
编辑产品</caption>
<tr>
<th>
产品名称:
</th>
<td>
<asp:TextBox ID="txtTitle" runat="server" Style="width: 61%"></asp:TextBox>
</td>
</tr>
<tr>
<th>
产品分类:
</th>
<td>
<asp:DropDownList ID="ddlType" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlType_SelectedIndexChanged">
</asp:DropDownList>
<asp:DropDownList ID="DropDownList1" runat="server">
</asp:DropDownList>
</td>
</tr>
<tr>
<th>
产品型号 :
</th>
<td>
<asp:TextBox ID="txtModel" runat="server" Style="width: 61%"></asp:TextBox>
</td>
</tr>
<tr>
<th>
图片<%--(最佳尺寸:宽:344px;高:198px;)--%>
</th>
<td>
<BinCoder:UploadTools ID="CtrlBpic" runat="server" Action="doubleThumbnail" FilePath="../Attachs/Pic/"
DoubleThumbnailSize="210*160|700*420" TxtID="txtFileName1" ImgPruId="imgbpic">
</BinCoder:UploadTools>
<img src="" id="imgbpic" alt="" />
</td>
</tr>
<tr>
<th>
点击量:
</th>
<td>
<asp:TextBox ID="TextBox1" runat="server" Text="0" Style="width: 61%" ReadOnly="True"></asp:TextBox>
</td>
</tr>
<tr>
<th>
排序:
</th>
<td>
<asp:TextBox ID="txtorder" runat="server" Text="0" Style="width: 61%" ></asp:TextBox>
</td>
</tr>
<%--<tr>
<th>
小图:(宽:125px;高:115px;)
</th>
<td>
<BinCoder:UploadTools ID="CtrlSpic" runat="server" Action="sourceFiles" FilePath="../Attachs/Pic/"
TxtID="txtFileName2" ImgPruId="imgspic">
</BinCoder:UploadTools>
<img src="" id="imgspic" alt="" />
</td>
</tr>--%>
<tr>
<th>
产品介绍:
</th>
<td>
<BinCoder:FCKeditor ID="txtDetail" Width="87%" runat="server" />
</td>
</tr>
<tr style="display:none;">
<th>
产品图片:
</th>
<td>
<BinCoder:FCKeditor ID="FCKeditor1" Width="87%" runat="server" />
</td>
</tr>
<tr>
<th>
产品参数:
</th>
<td>
<BinCoder:FCKeditor ID="FCKeditor2" Width="87%" runat="server" />
</td>
</tr>
<tr>
<th>
产品规格:
</th>
<td>
<BinCoder:FCKeditor ID="FCKeditor3" Width="87%" runat="server" />
</td>
</tr>
<tr>
<th>
添加时间:
</th>
<td>
<asp:TextBox ID="txtAddTime" runat="server" Style="width: 61%" CssClass="txt_calendar"></asp:TextBox>
</td>
</tr>
<tr>
<th style="width: 10%">
是否推荐首页:
</th>
<td>
<asp:CheckBox ID="chkIsHot" runat="server" />
</td>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" class="formitem_pagestyle">
<tr>
<td class="pagebutton">
<asp:Button ID="btnEdit" runat="server" Text="提 交" OnClick="btnEdit_Click"></asp:Button>
<input id="btnBack" class="btnblue" onclick="javascript:history.back()" type="button"
value="返回" />
</td>
</tr>
</table>
</asp:Content>
[ 本帖最后由 liyan0102034 于 2012-10-29 21:02 编辑 ]