效果(只为显示后的html):
<a href='http://localhost/1.aspx?id=1'>标题一</td><br>
<a href='http://localhost/1.aspx?id=2'>标题二</td><br>
<a href='http://localhost/1.aspx?id=3'>标题三</td><br>
<a href='http://localhost/1.aspx?id=4'>标题四</td><br>
<a href='http://localhost/1.aspx?id=5'>标题五</td><br>
<a href='http://localhost/1.aspx?id=6'>标题六</td>
用DataGrid能不能实现?
<a href='http://localhost/1.aspx?id=1'>标题一</td><br>
<a href='http://localhost/1.aspx?id=2'>标题二</td><br>
<a href='http://localhost/1.aspx?id=3'>标题三</td><br>
<a href='http://localhost/1.aspx?id=4'>标题四</td><br>
<a href='http://localhost/1.aspx?id=5'>标题五</td><br>
<a href='http://localhost/1.aspx?id=6'>标题六</td>
用DataGrid能不能实现?
解决方案 »
- ASP.NET MVC2模板路径配置
- jquery查询求助
- 来人散分 使用ajaxToolkit:TabContainer的UseVerticalStripPlacement属性出错
- vs2005关于网站发布的问题
- 请教时间显示问题
- 删除的的问题,急,在线等
- 那位兄弟有obout_ASPTreeView.dll的注册号
- 高手帮忙!急救 string 字符串变量问题!
- 兄弟们,学了一年多的asp.net。第一次遇到这样怪的问题。给100分。
- 如何动态绑定下拉列表!能够显示点中的文本的全部内容的!
- 请问asp.net的后台代码如何发送xml数据到另一服务器??
- Response.Redirect("Admerror.aspx");非常简单的一句,放到其他页面可以转向,这个页面中就是不可以!怎么搞的?
foreach(DataRow dr in ds.Tables[0].Rows)
{
Response.write("<tr><td>");
Response.Write("<a href=aa.aspx?id="+ds.Tables[0].Rows[0]["i"].ToString()+">"+ds.Tables[0].Rows[0]["name"].ToString()+"</a>");
Response.write("</td></tr>");
}