15,892,746 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by segedy (Top 8 by date)
segedy
26-May-14 12:53pm
View
Please can you take a look at the code again......I posted the wrong one previously
segedy
26-May-14 9:07am
View
Really sorry about this...I posted the wrong code
segedy
26-May-14 9:02am
View
I get the title error when I run the code.....I need help in fixing not a help in English
segedy
3-Apr-14 14:44pm
View
the QuestionID on the options table is a foreign key to the QuestionID(primary key) on the QuestionTable..............am sorry my reply is coming this late
segedy
10-Mar-14 15:54pm
View
forgot to add the gp code...this is it below
Dim TV1 As Double = 0.0
Dim TV2 As Double = 0.0
Dim TV3 As Double = 0.0
'TV stands for text value
Dim TV4 As Double = 0.0
Dim TV5 As Double = 0.0
If (ComboBox1.Text Is "A") Then
TV1 = 3 * 5
ElseIf (ComboBox1.Text Is "B") Then
TV1 = 3 * 4
ElseIf (ComboBox1.Text Is "C") Then
TV1 = 3 * 3
ElseIf (ComboBox1.Text Is "D") Then
TV1 = 3 * 2
ElseIf (ComboBox1.Text Is "E") Then
TV1 = 3 * 1
ElseIf (ComboBox1.Text Is "F") Then
TV1 = 3 * 0
End If
If (ComboBox2.Text Is "A") Then
TV2 = 3 * 5
ElseIf (ComboBox2.Text Is "B") Then
TV2 = 3 * 4
ElseIf (ComboBox2.Text Is "C") Then
TV2 = 3 * 3
ElseIf (ComboBox2.Text Is "D") Then
TV2 = 3 * 2
ElseIf (ComboBox2.Text Is "E") Then
TV2 = 3 * 1
ElseIf (ComboBox2.Text Is "F") Then
TV2 = 3 * 0
End If
If (ComboBox3.Text Is "A") Then
TV3 = 3 * 5
ElseIf (ComboBox3.Text Is "B") Then
TV3 = 3 * 4
ElseIf (ComboBox3.Text Is "C") Then
TV3 = 3 * 3
ElseIf (ComboBox3.Text Is "D") Then
TV3 = 3 * 2
ElseIf (ComboBox3.Text Is "E") Then
TV3 = 3 * 1
ElseIf (ComboBox3.Text Is "F") Then
TV3 = 3 * 0
End If
If (ComboBox4.Text Is "A") Then
TV4 = 3 * 5
ElseIf (ComboBox4.Text Is "B") Then
TV4 = 3 * 4
ElseIf (ComboBox4.Text Is "C") Then
TV4 = 3 * 3
ElseIf (ComboBox4.Text Is "D") Then
TV4 = 3 * 2
ElseIf (ComboBox4.Text Is "E") Then
TV4 = 3 * 1
ElseIf (ComboBox4.Text Is "F") Then
TV4 = 3 * 0
End If
If (ComboBox5.Text Is "A") Then
TV5 = 3 * 5
ElseIf (ComboBox5.Text Is "B") Then
TV5 = 3 * 4
ElseIf (ComboBox5.Text Is "C") Then
TV5 = 3 * 3
ElseIf (ComboBox5.Text Is "D") Then
TV5 = 3 * 2
ElseIf (ComboBox5.Text Is "E") Then
TV5 = 3 * 1
ElseIf (ComboBox5.Text Is "F") Then
TV5 = 3 * 0
End If
GP = (TV1 + TV2 + TV3 + TV4 + TV5) / 15
segedy
19-Feb-14 15:26pm
View
<tr>
<td class="style15" colspan="2">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">
<columns>
<asp:BoundField DataField="CourseRegistration.CourseCode" HeaderText="ID" Visible="false"/>
<asp:BoundField DataField="CourseRegistration.CourseCode" HeaderText="Course Code"/>
<asp:BoundField DataField="CoursesTable.CourseName" HeaderText="CourseName"/>
<asp:BoundField DataField="CoursesTable.CourseUnit" HeaderText="Course Unit" />
</td>
</tr>
segedy
18-Feb-14 9:32am
View
this is the aspx code
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CourseRegistration.aspx.cs" Inherits="CourseRegistration" %>
<!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 runat="server">
<title></title>
<style type="text/css">
.style1
{
width: 970px;
height: 160px;
}
.style2
{
height: 160px;
}
.style3
{
height: 26px;
}
.style6
{
height: 21px;
}
.style7
{
height: 9px;
}
.style8
{
height: 14px;
}
.style9
{
height: 23px;
}
.style10
{
height: 26px;
width: 330px;
}
.style11
{
height: 160px;
width: 330px;
}
.style12
{
height: 9px;
width: 28px;
}
.style13
{
height: 14px;
width: 28px;
}
.style14
{
height: 21px;
width: 28px;
}
.style15
{
height: 23px;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<table align="center" style="width:100%; height: 343px;">
<tr>
<td colspan="4">
<img alt="" class="style1" src="WebSite/top_banner_oou.jpg" /></td>
</tr>
<tr>
<td class="style10">
</td>
<td class="style3" colspan="2">
</td>
<td class="style3">
</td>
</tr>
<tr>
<td class="style11" rowspan="7">
</td>
<td class="style12">
Faculty:</td>
<td class="style7">
<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="true" DataSourceID="FacultyString" DataTextField="FacultyName" DataValueField="FacultyName">
<asp:SqlDataSource ID="FacultyString" runat="server"
ConnectionString="<%$ ConnectionStrings:OnlineExamination_String %>"
SelectCommand="SELECT FacultyName FROM dbo.FacultyTable">
</td>
<td class="style2" rowspan="7">
</td>
</tr>
<tr>
<td class="style13">
Department:</td>
<td class="style8">
<asp:SqlDataSource ID="DepartmentString" runat="server" ConnectionString="<%$ ConnectionStrings:OnlineExamination_String %>"
SelectCommand="select DepartmentTable.DepartmentName from FacultyTable inner join DepartmentTable on FacultyTable.FacultyID=DepartmentTable.FacultyID where([FacultyName] = @FacultyName)">
<SelectParameters>
<asp:ControlParameter ControlID="DropDownList1" Name="FacultyName" PropertyName="SelectedValue"
Type="string" />
</SelectParameters>
<asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack="true" DataSourceID="DepartmentString" DataTextField="DepartmentName" DataValueField="DepartmentName">
</td>
</tr>
<tr>
<td class="style14">
Course:</td>
<td cl
segedy
18-Feb-14 9:29am
View
am loading the grid view at page load....but once i click the link to the page it gives the error without loading the page......and no line number specified
Show More