2011-05-24 67 views
0
Response.Write("<td><a href= view5.aspx?file=" + strheadlinesid + "\\" + FI.Name + "> " + 
      FI.Name + "</a></td>"); 

我在上面的代碼行中將我的頁面重定向到view5.aspx。但是我想在新選項卡中打開view5.aspx,我該怎麼做。在單擊超鏈接的新選項卡中打開一個aspx頁面

+2

添加目標= 「_空白」 中的href道具後。 – 2011-05-24 05:36:16

+0

謝謝你的工作。 – Naresh 2011-05-24 05:40:09

回答

1
Response.Write("<td><a target='blank' href= view5.aspx?file=" + strheadlinesid + "\\" + FI.Name + "> " + 
      FI.Name + "</a></td>"); 

添加目標= '空白' 的標籤

相關問題