editfeaturecontrol.ascx
来自「C#语言制作asp.net网上商店的」· ASCX 代码 · 共 296 行 · 第 1/2 页
ASCX
296 行
</tr>
<tr>
<td ><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3" class="SubHeader" >
<asp:Label ID="lbEditOption" runat="server" Text="Add new" ForeColor="Red"></asp:Label>
<hr noshade="noshade" size="1" color=red /> </td>
</tr>
<tr>
<td align="left" valign="top" style="width: 363px" ><table border="0" cellpadding="0" cellspacing="0" width="402">
<tr>
<td class="FormButton" nowrap="nowrap" width="150"><asp:Label ID="Label2" runat="server">属性名称:</asp:Label></td>
<td nowrap="nowrap"><asp:TextBox ID="Textbox1" runat="server" Width="180px"></asp:TextBox></td>
</tr>
<tr>
<td class="FormButton" nowrap="nowrap" style="height: 25px" width="150"><asp:Label ID="Label3" runat="server">属性说明</asp:Label></td>
<td style="height: 25px"><asp:TextBox ID="Textbox2" runat="server" Width="180px"></asp:TextBox></td>
</tr>
<tr>
<td class="FormButton" nowrap="nowrap"><asp:Label ID="lblIsSearch" runat="server">是否高级搜速</asp:Label></td>
<td><asp:DropDownList ID="ddlIsSearch" runat="server" Height="30px">
<asp:ListItem Value="-1">是</asp:ListItem>
<asp:ListItem Value="0">否</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td class="FormButton" nowrap="nowrap" style="height: 18px" width="150"><asp:Label ID="Label4" runat="server">是否发布:</asp:Label></td>
<td style="height: 18px"><asp:DropDownList ID="Dropdownlist1" runat="server">
<asp:ListItem Value="-1">是</asp:ListItem>
<asp:ListItem Value="0">否</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td class="FormButton" nowrap="nowrap" style="height: 24px" width="150"><asp:Label ID="Label5" runat="server">显示顺序:</asp:Label></td>
<td style="height: 24px"><asp:TextBox ID="Textbox3" runat="server"></asp:TextBox></td>
</tr>
</table></td>
<td width="10" align="left" valign="top" > </td>
<td align="left" valign="top" >
<table id="Table1" border="0" cellpadding="0" cellspacing="0" width="402">
<tr>
<td class="FormButton" nowrap="nowrap" style="height: 21px" width="150">
<asp:Label ID="lblSelectType" runat="server">属性名:</asp:Label></td>
<td nowrap="nowrap" style="height: 21px">
<asp:DropDownList ID="ddlSelectType" runat="server" AutoPostBack="True" Width="152px">
<asp:ListItem Value="0">自行输入方式</asp:ListItem>
<asp:ListItem Value="1">单项选择输入方式</asp:ListItem>
<asp:ListItem Value="2">多项选择输入方式</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td class="FormButton" nowrap="nowrap" style="height: 23px" width="150">
<asp:Label ID="lblDataType" runat="server">属性数据类型:</asp:Label></td>
<td style="height: 23px">
<asp:DropDownList ID="ddlDataType" runat="server">
<asp:ListItem Value="0">文本</asp:ListItem>
<asp:ListItem Value="1">整型数字(没有小数点)</asp:ListItem>
<asp:ListItem Value="2">浮点数字(有小数点)</asp:ListItem>
<asp:ListItem Value="3">日期</asp:ListItem>
<asp:ListItem Value="4">备注</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td class="FormButton" colspan="2" nowrap="nowrap">
<asp:Panel ID="pFeatureSelect" runat="server" Visible="False">
<table id="Table9" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td >
<asp:DataGrid ID="grdPFS" runat="server" AllowPaging="True" AutoGenerateColumns="False"
CellSpacing="1" CssClass="Grid" Visible="False" Width="100%">
<SelectedItemStyle CssClass="GridSelected" />
<EditItemStyle CssClass="GridEditItem" />
<ItemStyle CssClass="GridItem" />
<HeaderStyle CssClass="GridHeader" />
<FooterStyle CssClass="GridFooter" />
<Columns>
<asp:BoundColumn DataField="FeatureSelectID" Visible="False"></asp:BoundColumn>
<asp:TemplateColumn>
<HeaderStyle Width="20px" />
<ItemStyle HorizontalAlign="Center" />
<HeaderTemplate>
<!-- <INPUT onclick="javascript:SelectAllCheckboxes(this);" type="checkbox"> -->
</HeaderTemplate>
<ItemTemplate>
<asp:CheckBox ID="cbSelect" runat="server" AutoPostBack="false" /><!-- OnCheckedChanged="grdEmployees_CheckedChanged" onchange="if(this.parentElement.parentElement.style.backgroundColor!='red')this.parentElement.parentElement.style.backgroundColor='red';else this.parentelement.parentelement.style.backgroundcolor='white';" -->
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="选项值">
<HeaderStyle Width="200px" />
<ItemTemplate>
<asp:TextBox ID="txtFeatureValueSelect" runat="server" MaxLength="500" Text='<%# DataBinder.Eval(Container.DataItem,"FeatureValue") %>'
> </asp:TextBox>
</ItemTemplate>
<EditItemTemplate> </EditItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="显示">
<HeaderStyle Width="30pt" />
<ItemStyle HorizontalAlign="Center" />
<ItemTemplate>
<itemstyle horizontalalign="Center" />
<asp:DropDownList ID="ddlIsValidSelect" runat="server" SelectedValue='<%# Cint(DataBinder.Eval(Container.DataItem,"IsValid")) %>'>
<asp:ListItem Selected="True" Value="-1">是</asp:ListItem>
<asp:ListItem Value="0">否</asp:ListItem>
</asp:DropDownList>
</ItemTemplate>
<FooterStyle HorizontalAlign="Center" />
</asp:TemplateColumn>
</Columns>
<PagerStyle BorderWidth="1px" CssClass="GridPager" ForeColor="#666666" HorizontalAlign="Right"
NextPageText="<font face="webdings">4</font>" PrevPageText="<font face="webdings">3</font>" />
</asp:DataGrid>
<asp:Button ID="btnFSSave" runat="server" Text="更新" /><font face="宋体"> </font>
<asp:Button ID="btnFSDelete" runat="server" Text="删除选择" /></td>
</tr>
<tr>
<td>
<asp:TextBox ID="txtFeatureValue" runat="server" Height="96px" TextMode="MultiLine"
Width="100%"></asp:TextBox></td>
</tr>
<tr>
<td>
<asp:Button ID="btnAddFeatureValue" runat="server" Text="添加属性值" /></td>
</tr>
</table>
</asp:Panel> </td>
</tr>
</table> </td>
</tr>
</table></td>
</tr>
</tbody>
</table>
</asp:Panel>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<asp:HiddenField ID="hfFeatureGroupID" runat="server" />
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?