怎么控制Repeater控件在页面中的位置 我怎么在桌面上拖不动这个控件 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 你需要在html视图下 写repeater给你个例子<table class="table" cellSpacing="0" cellPadding="0" border="0"> <TBODY> <tr> <td align="center" style="FONT-WEIGHT: bold; FONT-SIZE: 16px; COLOR: royalblue; FONT-FAMILY: Verdana" height="30"><br> Medical Notes<br> </td> </tr> <tr> <td align="center"><asp:repeater id="rp" runat="server"> <HeaderTemplate> <table class="table" cellpadding="0" cellpadding="0" bordercolor="#CC9966" border="1"> <tr bgcolor="#990000" style="COLOR: #ffffcc"> <td align="center" width="40%" align="left"><b>Date</b></td> <td align="center" width="60%" align="left"><b>Notes</b></td> </tr> </HeaderTemplate> <ItemTemplate> <tr width="240"> <td align="center" width="40%"><a href='MedicalNotesdetails.aspx?id=<%# databinder.eval(container.dataitem,"medical_notesID")%>'><%# format(DataBinder.Eval(Container.DataItem, "Progress_notes_date"),"dd/MMM/yyyy") %></a> </td> <td align="left" width="60%"><%# databinder.eval(container.dataitem,"Progress_notes")%> </td> </tr> </ItemTemplate> <AlternatingItemTemplate> <tr width="240" bgcolor="#FFE0C0"> <td align="center" width="40%"><a href='MedicalNotesdetails.aspx?id=<%# databinder.eval(container.dataitem,"medical_notesID")%>'><%# format(DataBinder.Eval(Container.DataItem, "Progress_notes_date"),"dd/MMM/yyyy") %></a> </td> <td align="left" width="60%"><%# databinder.eval(container.dataitem,"Progress_notes")%> </td> </tr> </AlternatingItemTemplate> <FooterTemplate> </table> </FooterTemplate> </asp:repeater></TD></TR> <tr> <td align="center"><br> <asp:button id="btnAdd" BorderWidth="1px" BorderColor="Black" BackColor="White" Width="40px" Text="Add" Runat="server"></asp:button> <asp:button id="btnBack" BorderWidth="1px" BorderColor="Black" BackColor="White" Width="40px" Text="Back" Runat="server"></asp:button><br> </td> </tr> </TBODY></TABLE> <HeaderTemplate><ItemTemplate><FooterTemplate>就像画表格一样 body里面加上MS_POSITIONING="GridLayout",你的控件编辑状态就可以任意拖动了 <asp:Repeater id="Repeater1" runat="server"> <HeaderTemplate> <table border="1" width="100%" align="center"> </HeaderTemplate> <ItemTemplate> <tr> <td> <%# Container.DataItem %> </td> <td> <%# Container.DataItem %> </td> </tr> </ItemTemplate> <FooterTemplate> </table> </FooterTemplate> </asp:Repeater> asp.net网页打包怎么样在用户桌面创建快捷方式 未知问题 求高人解答 在线等 询问关于FCK在线编辑器问题 我在AjaxPanel中放了一个按钮,但是点击按钮后,只显示一个Loading...,然后就没反映了,也打不开新页.怎么解决 求代码优化。SQL高手来 网站远程站点部署 找不到母版 请各位高手回答 请教! .NET中如何连接SYSBASE数据库 howto 部署些好的asp.net 应用程序到windows.net+iis6 应骋软件项目经理会出什么题目考试? 如何在repeater中实现自动换行?在先等,谢谢!
<table class="table" cellSpacing="0" cellPadding="0" border="0">
<TBODY>
<tr>
<td align="center" style="FONT-WEIGHT: bold; FONT-SIZE: 16px; COLOR: royalblue; FONT-FAMILY: Verdana"
height="30"><br>
Medical Notes<br>
</td>
</tr>
<tr>
<td align="center"><asp:repeater id="rp" runat="server">
<HeaderTemplate>
<table class="table" cellpadding="0" cellpadding="0" bordercolor="#CC9966" border="1">
<tr bgcolor="#990000" style="COLOR: #ffffcc">
<td align="center" width="40%" align="left"><b>Date</b></td>
<td align="center" width="60%" align="left"><b>Notes</b></td>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr width="240">
<td align="center" width="40%"><a href='MedicalNotesdetails.aspx?id=<%# databinder.eval(container.dataitem,"medical_notesID")%>'><%# format(DataBinder.Eval(Container.DataItem, "Progress_notes_date"),"dd/MMM/yyyy") %></a>
</td>
<td align="left" width="60%"><%# databinder.eval(container.dataitem,"Progress_notes")%>
</td>
</tr>
</ItemTemplate>
<AlternatingItemTemplate>
<tr width="240" bgcolor="#FFE0C0">
<td align="center" width="40%"><a href='MedicalNotesdetails.aspx?id=<%# databinder.eval(container.dataitem,"medical_notesID")%>'><%# format(DataBinder.Eval(Container.DataItem, "Progress_notes_date"),"dd/MMM/yyyy") %></a>
</td>
<td align="left" width="60%"><%# databinder.eval(container.dataitem,"Progress_notes")%>
</td>
</tr>
</AlternatingItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate> </asp:repeater></TD></TR>
<tr>
<td align="center"><br>
<asp:button id="btnAdd" BorderWidth="1px" BorderColor="Black" BackColor="White" Width="40px"
Text="Add" Runat="server"></asp:button>
<asp:button id="btnBack" BorderWidth="1px" BorderColor="Black" BackColor="White" Width="40px"
Text="Back" Runat="server"></asp:button><br>
</td>
</tr>
</TBODY></TABLE>
就像画表格一样
<HeaderTemplate>
<table border="1" width="100%" align="center">
</HeaderTemplate>
<ItemTemplate>
<tr>
<td>
<%# Container.DataItem %>
</td>
<td>
<%# Container.DataItem %>
</td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:Repeater>