Set Question Paper form Design:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="setqpaper.aspx.cs" Inherits="setqpaper" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title></title>
<style type="text/css">
.style1
{
width: 1024px;
}
.style2
{
font-family: "Monotype Corsiva";
font-size: xx-large;
font-weight: bold;
color: #3399FF;
text-align: center;
padding: 0;
}
.style3
{
font-size: large;
font-weight: bold;
color: #FFFFFF;
font-family: "Monotype Corsiva";
}
.style4
{
width: 100%;
}
.style5
{
text-align: center;
}
.style12
{
text-align: center;
width: 165px;
}
.style14
{
text-align: center;
width: 166px;
}
.style15
{
text-align: center;
width: 165px;
color: #FFFFFF;
text-decoration: underline;
}
.style16
{
width: 228px;
}
</style>
</head>
<body bgcolor="#cccccc">
<form id="form1" runat="server">
<table align="center" class="style1">
<tr>
<td class="style2">
Online Exam</td>
</tr>
<tr>
<td bgcolor="#3333FF">
</td>
</tr>
<tr>
<td bgcolor="#99CCFF"
style="color: #000099; font-size: medium; font-weight: 700">
<table align="center" class="style4">
<tr>
<td class="style12">
<a href="adduser.aspx">Add User</a></td>
<td class="style12">
<a href="deleteuser.aspx">Delete User</a></td>
<td class="style15">
<a href="setqpaper.aspx">Set Q Paper</a></td>
<td class="style14">
<a href="paperview.aspx">Preview Q Paper</a></td>
<td class="style14">
<a href="deleteqpaper.aspx">Delete Q Paper</a></td>
<td class="style14">
<a href="reports.aspx">View Report</a></td>
<td class="style5">
<a href="adminlogout.aspx">Logout</a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<asp:DropDownList ID="testlist" runat="server" Height="20px" Width="150px"
AutoPostBack="True" DataSourceID="SqlDataSource1" DataTextField="settype"
DataValueField="settype">
</asp:DropDownList>
<asp:TextBox ID="testname" runat="server" Visible="False"></asp:TextBox>
<asp:Button ID="ntest" runat="server" Font-Bold="True" Text="New Test"
Width="88px" onclick="ntest_Click" />
<asp:Label ID="msg1" runat="server" ForeColor="Blue"></asp:Label>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT DISTINCT [settype] FROM [question] ORDER BY [settype]">
</asp:SqlDataSource>
</td>
</tr>
<tr>
<td>
<asp:TextBox ID="question" runat="server" Height="50px" Width="600px"
Font-Bold="True"></asp:TextBox>
<asp:Label ID="msg2" runat="server" ForeColor="Blue"></asp:Label>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
<asp:TextBox ID="opt1" runat="server" Width="600px" Font-Bold="True"></asp:TextBox>
<asp:RadioButton ID="RadioButton1" runat="server" Checked="True"
GroupName="opt" />
<asp:Label ID="msg3" runat="server" ForeColor="Blue"></asp:Label>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
<asp:TextBox ID="opt2" runat="server" Width="600px" Font-Bold="True"></asp:TextBox>
<asp:RadioButton ID="RadioButton2" runat="server" GroupName="opt" />
<asp:Label ID="msg4" runat="server" ForeColor="Blue"></asp:Label>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
<asp:TextBox ID="opt3" runat="server" Width="600px" Font-Bold="True"></asp:TextBox>
<asp:RadioButton ID="RadioButton3" runat="server" GroupName="opt" />
<asp:Label ID="msg5" runat="server" ForeColor="Blue"></asp:Label>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
<asp:TextBox ID="opt4" runat="server" Width="600px" Font-Bold="True"></asp:TextBox>
<asp:RadioButton ID="RadioButton4" runat="server" GroupName="opt" />
<asp:Label ID="msg6" runat="server" ForeColor="Blue"></asp:Label>
</td>
</tr>
<tr>
<td>
<asp:Label ID="msg7" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td>
<table align="center" class="style4">
<tr>
<td class="style16">
<asp:Button ID="submit" runat="server" Font-Bold="True" Text="Add Question"
onclick="Button2_Click" />
</td>
<td>
<asp:Button ID="paperview" runat="server" Font-Bold="True" Text="View Paper" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#3333FF">
</td>
</tr>
<tr>
<td bgcolor="#666666" style="text-align: center">
<span class="style3">Designed by :- Rohini Kumar Pandey & Suryakant Yadavv</span>
</td>
</tr>
</table>
</form>
</body>
</html>
No comments:
Post a Comment