Response.Write("<td><a href= view5.aspx?file=" + strheadlinesid + "\\" + FI.Name + "> " +
FI.Name + "</a></td>");
我的代码中有以上行,它将我的页面重定向到view5.aspx。但我想在新标签中打开view5.aspx我该怎么做。
答案 0 :(得分:1)
Response.Write("<td><a target='blank' href= view5.aspx?file=" + strheadlinesid + "\\" + FI.Name + "> " +
FI.Name + "</a></td>");
在标记中添加target ='blank'