-
Notifications
You must be signed in to change notification settings - Fork 2
/
Contributor.aspx.cs
39 lines (32 loc) · 1.27 KB
/
Contributor.aspx.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Windows.Forms;
public partial class Contributor : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
int id = Convert.ToInt32(Request.QueryString["urlid"]);
switch (id)
{
case 1:
Response.Write("<script language='javascript'>setTimeout(function () { window.location = 'index.aspx'; }, 3000);</script>");
break;
case 2:
Response.Write("<script language='javascript'>setTimeout(function () { window.location = 'RegisterForm.aspx'; }, 3000);</script>");
break;
case 3:
Response.Write("<script language='javascript'>setTimeout(function () { window.location = 'AlumniHome.aspx'; }, 3000);</script>");
break;
case 4:
Response.Write("<script language='javascript'>setTimeout(function () { window.location = 'Search Alumni/SearchAlumni.aspx'; }, 3000);</script>");
break;
case 5:
Response.Write("<script language='javascript'>setTimeout(function () { window.location = 'AlumniPages/AlumniProfHome.aspx'; }, 3000);</script>");
break;
}
}
}