我想从 c# 代码打开 10 个浏览器选项卡,我该怎么做?
protected void Page_Load(object sender, EventArgs e)
{
foreach (var url in Getdata())
{
string URL = string.Format("http://www.websitename.com/member_id={0}", url.Replace("Member", ""));
Response.Redirect(URL);
}
}
public List<string> Getdata()
{
List<string> Key = new List<string>();
Key.Add("Member2942048");
Key.Add("Member3271434");
Key.Add("Member3271124");
return Key;
}
还建议如何为此编写jQuery / Javascript代码(我可以在jQuery中创建arraylist并一一阅读)