我记得HTML里有这种功能,
就是<td valign=top>内容</td>,
让这些内容显示在列的最上面,
不知道NET里怎么实现这种功能?<asp:BoundColumn ItemStyle-Width="20%" HeaderText="名字" DataField="restore_name" /><asp:templatecolumn ItemStyle-Width="70%" HeaderText="内容">
<itemtemplate>
<%# SubStr(DataBinder.Eval(Container.DataItem,"restore_content").ToString())%>
</itemtemplate>
</asp:templatecolumn><asp:BoundColumn ItemStyle-Width="10%" HeaderText="日期" DataField="restore_date" DataFormatString="{0:yyyy-MM-dd}" />
就是<td valign=top>内容</td>,
让这些内容显示在列的最上面,
不知道NET里怎么实现这种功能?<asp:BoundColumn ItemStyle-Width="20%" HeaderText="名字" DataField="restore_name" /><asp:templatecolumn ItemStyle-Width="70%" HeaderText="内容">
<itemtemplate>
<%# SubStr(DataBinder.Eval(Container.DataItem,"restore_content").ToString())%>
</itemtemplate>
</asp:templatecolumn><asp:BoundColumn ItemStyle-Width="10%" HeaderText="日期" DataField="restore_date" DataFormatString="{0:yyyy-MM-dd}" />
解决方案 »
- 同一个页面引用2个jquery不同的版本,怎么做呢
- 分不多,但还是请大家帮帮忙!
- DataGridView控件的使用和直接Write HTML的那个更好。
- 关于Navigateurl传递参数的问题,语言=VB
- 在asp.net中怎么创建以及读写一个.ini文件 ?
- SqlConnection成员如何在自定义类中实现序列化?
- 我这样的问题怎样分页???
- 用C#怎样在页面加载的时候使TextBox得到焦点
- 我的dataview里面的内容怎么写不进label的text属性啊
- 怎样获得两个IP地址之间所有可能的IP?
- asp.net(C#)怎么读asp写的cookies,100分,顶者有分
- 如何设计可以交互的mail程序阿!
就是<td valign=top>内容</td>,
让这些内容显示在列的最上面,
不知道NET里怎么实现这种功能?用VerticalAlign=top可以,但下面这句又怎么搞啊?<asp:templatecolumn ItemStyle-Width="70%" ItemStyle-Height="100" HeaderText="回複內容">
<itemtemplate>
<%# DataBinder.Eval(Container.DataItem,"restore_content").ToString()%>
</itemtemplate>
</asp:templatecolumn>