📄 displaygoods.aspx
字号:
password.value="";
}
</script>
</TD></TR>
<TR>
<TD height=5></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD class=title_left height=34> <IMG
height=10 src="image/smallbook.jpg"
width=10> 拍品搜索</TD></TR>
<TR>
<TD height=5></TD></TR>
<TR>
<TD height=10>
<TABLE cellSpacing=0 cellPadding=0 width="92%" align=center
border=0>
<TBODY>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=2 align=center
border=0 id="TABLE1">
<TBODY>
<TR>
<TD height=28 style="width: 137px">
<asp:DropDownList ID="DropDownList2" runat="server" Width="123px">
<asp:ListItem Selected="True">拍卖方式</asp:ListItem>
</asp:DropDownList></TD></TR>
<TR>
<TD height=28 style="width: 137px">
<asp:DropDownList ID="DropDownList3" runat="server" Width="123px">
</asp:DropDownList></TD></TR>
<TR>
<TD height=28 style="width: 137px">
<asp:TextBox ID="TextBox2" text="填写拍卖人用户名..." onfocus="on_focus(this,'填写拍卖人用户名...')" onblur="on_blur(this,'填写拍卖人用户名...')" runat="server" OnTextChanged="TextBox2_TextChanged" Width="119px"></asp:TextBox></TD></TR>
<TR>
<TD height=28 style="width: 137px">
<asp:TextBox ID="TextBox3" onfocus="on_focus(this,'填写关键字...')" onblur="on_blur(this,'填写关键字...')" Text="填写关键字..." runat="server" Width="81px"></asp:TextBox> <asp:Button
ID="Button5" runat="server" OnClick="Button5_Click" Text="搜索" /> <br />
</TD></TR></TABLE>
<asp:Button ID="Button6" runat="server" Text="高级搜索" Width="124px" PostBackUrl="~/seniorSearch.aspx" /></TD></TR></TABLE></TD></TR>
<TR>
<TD height=5></TD></TR></TBODY></TABLE></td>
<TD width=6></TD>
<TD vAlign=top>
<TABLE class=border height="500px" cellSpacing=0 cellPadding=0
width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top style="height: 206px"><IMG height=77
src="image/ppzs6.gif" width=507 border=0>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD class=title_right height=32> <IMG
height=10 src="image/smallbook.jpg"
width=10> 拍 品 展 示</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD width=453 height=28> <A
href="http://www.sdjypm.com/Products.asp">拍品</A> >> <A
href="http://www.sdjypm.com/Product.asp?BigClassName=房地产类">房地产类</A> >> 所有小类
</TD>
<TD width=102>共有 <b><%=goodsCount%></b> 个拍品 </TD></TR>
<TR>
<TD background=image/naBialym.gif colSpan=2
height=1><IMG height=1 src="image/1x1_pix.gif"
width=10></TD></TR>
<TR>
<TD colSpan=2 height=1>
<TABLE cellSpacing=3 cellPadding=0 width="100%"
border=0>
<TBODY>
<TR>
<TD height="12">
<asp:GridView ID="GridView1" Width="100%" runat="server" AutoGenerateColumns="False" CellPadding="4"
DataKeyNames="goodsID" PageIndex="0" PagerSettings-Visible="false" AllowPaging="true" DataSourceID="SqlDataSource1" ForeColor="#333333" OnRowCreated="on_RowCreated" GridLines="None" AllowSorting="True" OnSelectedIndexChanged="GridView1_SelectedIndexChanged" OnDataBound="GridView1_DataBound" >
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<Columns>
<asp:TemplateField HeaderText="拍品名称" >
<ItemTemplate>
<a href="<%#"goodsDetail.aspx?goodsID="+DataBinder.Eval(Container.DataItem,"goodsID")%>"><%#(((string)DataBinder.Eval(Container.DataItem,"nameOfGoods")).Trim().Length>20)?(((string)DataBinder.Eval(Container.DataItem,"nameOfGoods")).Substring(0,20)+"..."):DataBinder.Eval(Container.DataItem,"nameOfGoods")%></a>
</ItemTemplate>
<ItemStyle Width="280px" />
</asp:TemplateField>
<asp:TemplateField SortExpression="startPrice" ItemStyle-Width="50px" HeaderText="起价">
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem,"startPrice")%><%#DataBinder.Eval(Container.DataItem,"scale")%>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="sellUserID" HeaderText="拍卖人" SortExpression="sellUserID" >
<ItemStyle Width="60px" />
</asp:BoundField>
<asp:TemplateField SortExpression="startPrice" ItemStyle-Width="50px" HeaderText="现价">
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem, "hightestPrice")%><%#DataBinder.Eval(Container.DataItem,"scale")%>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="mannerName" HeaderText="方式" SortExpression="mannerName" >
<ItemStyle Width="50px" />
</asp:BoundField>
<asp:TemplateField HeaderText="状态" SortExpression="state">
<EditItemTemplate>
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("state") %>'></asp:TextBox>
</EditItemTemplate>
<ItemStyle Width="55px" />
<ItemTemplate>
<asp:Label ID="Label1" runat="server" ><%#"["+((((string)DataBinder.Eval(Container.DataItem,"state"))=="拍卖中")?("<font color=green>"+DataBinder.Eval(Container.DataItem,"state")+"</font>"):("<font color=red>"+DataBinder.Eval(Container.DataItem,"state")+"</font>"))+"]"%></asp:Label>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<RowStyle BackColor="#EFF3FB" />
<EditRowStyle BackColor="#2461BF" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
<PagerSettings Visible="False" />
</asp:GridView>
</TD>
</TR>
<TR>
<TD bgColor=#cccccc
height=1></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD colSpan=2 style="height: 2px">
<TABLE align=center>
<TR>
<TD><asp:Button runat="server" id="Button1" Text="首页" OnClick="Button1_Click"/>
<asp:Button runat="server" id=Button2 Text="上一页" OnClick="Button2_Click" Enabled="False" />
<asp:Button runat="server" id=Button3 Text="下一页" OnClick="Button3_Click" />
<asp:Button runat="server" id=Button4 Text="尾页" OnClick="Button4_Click" /> 页次:<%=currentPage%><strong>/<%=GridView1.PageCount%></strong>页
<B><%=GridView1.PageSize%></B>个拍品/页 转到:<asp:DropDownList AutoPostBack="true" OnSelectedIndexChanged="on_SelectIndexChanged" ID="DropDownList1" runat="server">
</asp:DropDownList></TD></TR></TABLE></TD></TR></TABLE></TD></TR></TBODY></TABLE>
</TD></tr></tbody></table>
<uc2:Tail ID="Tail1" runat="server" />
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="Data Source=.;Initial Catalog=onlinePaimai;Integrated Security=True"
SelectCommand="SELECT * FROM goods,paimaiManner Where goods.manner=paimaiManner.mannerID" ></asp:SqlDataSource>
</DIV>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -