-
Notifications
You must be signed in to change notification settings - Fork 0
/
AddQuestions.aspx
98 lines (89 loc) · 4.28 KB
/
AddQuestions.aspx
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
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage2.master" AutoEventWireup="true" CodeFile="AddQuestions.aspx.cs" Inherits="AddQuestions" %>
<asp:Content ID="Content1" ContentPlaceHolderID="title" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
.txtbox
{
position:absolute;
left:300px;
padding-right:200px;
}
#d1
{
left:-400px;
}
#d2
{
left:-800px;
}
</style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="body" Runat="Server">
<asp:Button ID="Button1" runat="server" Text="Admin Page"
onclick="Button1_Click" />
<div id = "d2">
<h2 style="color:Black; left:250px;">Select the subject</h2>
<br />
<asp:DropDownList ID="DropDownList1" runat="server"
onselectedindexchanged="DropDownList1_SelectedIndexChanged"
AutoPostBack="True">
<asp:ListItem>(Select Subjects)</asp:ListItem>
<asp:ListItem>C</asp:ListItem>
<asp:ListItem>C++</asp:ListItem>
<asp:ListItem>Java</asp:ListItem>
<asp:ListItem>JavaScript</asp:ListItem>
<asp:ListItem>MySql</asp:ListItem>
<asp:ListItem>C#</asp:ListItem>
</asp:DropDownList><br /><br />
<h2><asp:Label ID="Label1" runat="server" Text="You are entering Questions in "
Visible="False"></asp:Label>
<asp:Label ID="Label2" runat="server" Text=""></asp:Label></h2>
</div>
<br />
<br />
<div id="d1">
Question:<asp:TextBox ID="TextBox1" runat="server" CssClass="txtbox"
TextMode="MultiLine"></asp:TextBox><br />
<br />
<br />
<br />
Option1:<asp:TextBox ID="TextBox2" runat="server" CssClass="txtbox"></asp:TextBox>
<br />
<br />
Option2:<asp:TextBox ID="TextBox3" runat="server" CssClass="txtbox"></asp:TextBox>
<br /><br />
Option3:<asp:TextBox ID="TextBox4" runat="server" CssClass="txtbox"></asp:TextBox>
<br /><br />
Option4:<asp:TextBox ID="TextBox5" runat="server" CssClass="txtbox"></asp:TextBox>
<br /><br />
Answer(in number):<asp:TextBox ID="TextBox6" runat="server" CssClass="txtbox"></asp:TextBox>
<br /><br />
<asp:Button ID="AddQues" runat="server" Text="Add" onclick="AddQues_Click" />
</div>
</asp:Content>