-
Notifications
You must be signed in to change notification settings - Fork 1
/
Default.aspx.cs
100 lines (81 loc) · 2.61 KB
/
Default.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
//ID#: 1401375
//Developer: Lomar Lilly
//Module: Enterprise Computing
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void getAntiMalwareSoftware(object sender, EventArgs e)
{
txtCategory.Text = "1";
_pageHeader.Text = "Anti-Malware Software";
}
protected void getBusinessAntivirusSoftware(object sender, EventArgs e)
{
txtCategory.Text = "2";
_pageHeader.Text = "Business Antivirus Software";
}
protected void getCompressionSoftware(object sender, EventArgs e)
{
txtCategory.Text = "3";
_pageHeader.Text = "Compression Software";
}
protected void getDeveloperSoftware(object sender, EventArgs e)
{
txtCategory.Text = "4";
_pageHeader.Text = "Developer Software";
}
protected void getDriverSoftware(object sender, EventArgs e)
{
txtCategory.Text = "5";
_pageHeader.Text = "Drivers Software";
}
protected void getFileTransferSoftware(object sender, EventArgs e)
{
txtCategory.Text = "6";
_pageHeader.Text = "File Transfer Software";
}
protected void getMultimediaSoftware(object sender, EventArgs e)
{
txtCategory.Text = "7";
_pageHeader.Text = "Multimedia Software";
}
protected void getOfficeNewsSoftware(object sender, EventArgs e)
{
txtCategory.Text = "8";
_pageHeader.Text = "Office / News Software";
}
protected void getNetworkingSoftware(object sender, EventArgs e)
{
txtCategory.Text = "9";
_pageHeader.Text = "Networking Software";
}
protected void getSecuritySoftware(object sender, EventArgs e)
{
txtCategory.Text = "10";
_pageHeader.Text = "Security Software";
}
protected void getSystemTuningSoftware(object sender, EventArgs e)
{
txtCategory.Text = "11";
_pageHeader.Text = "System Tuning Software";
}
protected void getVPNsPrivacySoftware(object sender, EventArgs e)
{
txtCategory.Text = "12";
_pageHeader.Text = "VPNs / Privacy Software";
}
protected void gvSoftware_SelectedIndexChanged(object sender, EventArgs e)
{
String ID = gvSoftware.SelectedRow.Cells[3].Text;
Session["Software ID"] = ID;
Response.Redirect("ProductPage.aspx");
}
}