user_build.aspx页面
<%@ Page Language="C#" MasterPageFile="~/users/MasterPage.master" AutoEventWireup="true"
CodeFile="user_build.aspx.cs" Inherits="users_user_build" Title="Untitled Page" %><asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<div style="width: 246px; height: 100px" id="DIV1">
<asp:DataList ID="dlbuild" runat="server" Width="242px" Height="452px">
<ItemTemplate>
<table>
<tr>
<td align="left">
<span style="font-size: 12px; line-height: 20px;">建筑名称:</span> <span style="font-size: 12px;
line-height: 20px;">
<%# Eval("city_name")%>
</span>
<br />
<span style="font-size: 12px; line-height: 20px;">建筑所在城市:</span> <span style="font-size: 12px;
line-height: 20px;">
<%# Eval("name")%>
</span>
<br />
<span style="font-size: 12px; line-height: 20px;">建筑状态:</span> <span style="font-size: 12px;
line-height: 20px;">
<%# getchange(Convert.ToInt32(Eval("build_states")))%> 查看
</span>
<br />
<span style="font-size: 12px; line-height: 20px;">建筑数量:</span> <span style="font-size: 12px;
line-height: 20px;">
<%# Eval("buildnumber")%>
</span>
</td>
</tr>
</table>
</ItemTemplate>
<SeparatorTemplate>
<hr />
</SeparatorTemplate>
</asp:DataList><asp:Label ID="lblCurrentPage" runat="server"></asp:Label><asp:LinkButton
ID="btnBack" runat="server" BackColor="White" OnClick="btnBack_Click" Text=" 后 退 "></asp:LinkButton>
<asp:LinkButton ID="btnAdvance" runat="server" BackColor="White"
OnClick="btnAdvance_Click" Text=" 前 进 "></asp:LinkButton></div>
</asp:Content>
<%@ Page Language="C#" MasterPageFile="~/users/MasterPage.master" AutoEventWireup="true"
CodeFile="user_build.aspx.cs" Inherits="users_user_build" Title="Untitled Page" %><asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<div style="width: 246px; height: 100px" id="DIV1">
<asp:DataList ID="dlbuild" runat="server" Width="242px" Height="452px">
<ItemTemplate>
<table>
<tr>
<td align="left">
<span style="font-size: 12px; line-height: 20px;">建筑名称:</span> <span style="font-size: 12px;
line-height: 20px;">
<%# Eval("city_name")%>
</span>
<br />
<span style="font-size: 12px; line-height: 20px;">建筑所在城市:</span> <span style="font-size: 12px;
line-height: 20px;">
<%# Eval("name")%>
</span>
<br />
<span style="font-size: 12px; line-height: 20px;">建筑状态:</span> <span style="font-size: 12px;
line-height: 20px;">
<%# getchange(Convert.ToInt32(Eval("build_states")))%> 查看
</span>
<br />
<span style="font-size: 12px; line-height: 20px;">建筑数量:</span> <span style="font-size: 12px;
line-height: 20px;">
<%# Eval("buildnumber")%>
</span>
</td>
</tr>
</table>
</ItemTemplate>
<SeparatorTemplate>
<hr />
</SeparatorTemplate>
</asp:DataList><asp:Label ID="lblCurrentPage" runat="server"></asp:Label><asp:LinkButton
ID="btnBack" runat="server" BackColor="White" OnClick="btnBack_Click" Text=" 后 退 "></asp:LinkButton>
<asp:LinkButton ID="btnAdvance" runat="server" BackColor="White"
OnClick="btnAdvance_Click" Text=" 前 进 "></asp:LinkButton></div>
</asp:Content>
解决方案 »
- 求一段简单的代码。关于Repeater分页后和条件查询后的数据。
- 语法问题请教
- 呈现控件(.ascx自定义)时出错
- 这是怎么回事啊。
- 求解决 。。。。。错误 1 未能加载类型“qminoa.Webs.Schedule.DepSchByDay”。
- 在线啊,在datagrid中dropdownlist引发事件使另一个dropdownlist的值变化?
- 超级简单的索引问题
- BC30201: Expression expected是什么意思啊?
- 请问用asp.net开发如何进行团队开发?
- treeview如何从XML文件中设值?
- Datasourse中配置数据源,where条件中默认值
- 送分啦,2个简单的问题.....在线等......急啦........标题要长...............................要引人注意.....
onmouseover 显示一个div