I want to open 10 tabs of browsers from c# code, how could I do that?
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;
}
Also suggest how to write jQuery / Javascript code for this (I could create arraylist in jQuery and read one by one)
you can use
Process.Start(websiteUrl );like this: