[Lesson 12:] Building a Quiz Engine 2

Please install Silverlight or click download to watch video locally.

In this lesson, you will begin to lay out the web pages for the Quiz Engine and create some of the initial code required. This will allow you to exercise the skills developed in the earlier videos.

Duration: 29 minutes, 20 seconds

Date: 23 August 2005

Watch    Video   |   Download    Video   |   VB Code    C# Code

Video downloads: WMV  |  Zune  |  iPod  |  PSP  |  MPEG-4  |  3GP

Audio downloads: AAC  |  WMA  |  MPEG-4  |  MPEG-3  |  MPEG-2

Comments : 33

Leave a Comment

quique123 : On March 13, 2008 1:28 PM said:

i get many undeclared value errors...

questiondetails is undeclared

answerdropdownlist is undeclared

buttonnext is undeclared

that buttonnext handle requires WithEvents variable defined

and xhtml bgcolor and align being outdated constructs

santaclaus : On April 19, 2008 11:45 AM said:

what was that??????

a tunnel of mistakes

Mave : On May 21, 2008 9:03 AM said:

hi,This video seems not working well ? iam not able to access this video...

thanks.

Mave : On May 21, 2008 9:08 AM said:

sry,i am able to access this video now, many thanks...

deepak naggo : On June 15, 2008 6:33 AM said:

hi,This video seems not working well ? iam not able to access this video...

thanks.

saswas : On June 24, 2008 5:04 PM said:

Can I get this demo on C#

muhammed : On July 22, 2008 8:32 AM said:

good video

terrian : On July 24, 2008 7:03 AM said:

wonderful

abelanet : On August 01, 2008 5:17 AM said:

I am enjoy this quiz design concept. It is always good when concepts are put into practise :)

patelr28 : On August 06, 2008 1:32 PM said:

Nice exampel through session objects !

cv_vikram : On August 08, 2008 11:04 AM said:

Very good video...thanks

raghav_khunger : On August 18, 2008 8:37 AM said:

Great Video

Asa.P : On September 02, 2008 11:40 AM said:

nice one... thank u very much for posting

omarbags : On September 18, 2008 11:20 PM said:

help on this one !

i can't seem to view another question instead it only produces 1 question and then when i click on the next button it goes directly to the results page ...

pleeeeeeeeeeeaaaaaaaaaseeee heeeeeelp me with this one

badly !!!

thanks in advance .....

LinhMy : On November 11, 2008 11:44 AM said:

Video's useful. Thanks very much.

SoulGen : On December 02, 2008 6:55 PM said:

Great video tutorial!

ravi_200586 : On December 17, 2008 9:22 PM said:

this video is usefull

webfabrik : On January 06, 2009 9:07 PM said:

I would have liked to see a step-by-step guide rather than a "here's one I prepared earlier" deal.

bohunt : On February 08, 2009 9:35 AM said:

I can't wait to finish this quiz!

sathyasai : On February 16, 2009 2:19 PM said:

I don't know how to put .jpg file in asp.net

MSummers : On February 25, 2009 10:20 AM said:

In lesson 13 you said you can't figure out how to place a jpg file in a folder or page.

To place a image file in a folder, Right click on the folder, Select Add existing item. Navigate to the item that you want, highlight it then press ok

To add a image to a page, drag and drop the item from solution folder to the page.

MSummers : On February 25, 2009 10:20 AM said:

In lesson 13 you said you can't figure out how to place a jpg file in a folder or page.

To place a image file in a folder, Right click on the folder, Select Add existing item. Navigate to the item that you want, highlight it then press ok

To add a image to a page, drag and drop the item from solution folder to the page.

MSummers : On February 25, 2009 10:21 AM said:

In lesson 13 you said you can't figure out how to place a jpg file in a folder or page.

To place a image file in a folder, Right click on the folder, Select Add existing item. Navigate to the item that you want, highlight it then press ok

To add a image to a page, drag and drop the item from solution folder to the page.

MSummers : On February 25, 2009 10:26 AM said:

Ack a double post. I need to fix my computer not responding fast enought. So where is the hanner :-)

sathyasai : On March 03, 2009 3:23 PM said:

I like this video.I dont know how to select databound.Can u please help me out.Thanks in advance...

mtmolina : On March 05, 2009 10:37 PM said:

Having problems with Lesson 12 QuizCS code and XHTML validation error messages. Did not install from .msi rather copyied WEB Apps folders. Has Bob Tabor written some installation or other type of notes for users?

leona : On March 18, 2009 5:47 PM said:

Hi ,

Can Anyone explains to me How can we resize Login View control and place other controls in that template as shown in default.aspx?

johnbangla : On March 24, 2009 7:19 AM said:

thank YOU SO MUCH.upload many ,many project.

I think if We all share our Knowledge We can Enhance Our Skill.

amiah5 : On March 30, 2009 2:59 PM said:

Hi

I get the following error, can anyone help me please!

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

<%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>

<system.web>

<compilation debug="true"/>

</system.web>

</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]

e_learning_questions.Button1_Click(Object sender, EventArgs e) +232

System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111

System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110

System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10

System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13

System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

abdi-2222 : On April 13, 2009 9:41 PM said:

the first 6 lessons with VB option to watch the videos but the last only with C#

mxc100 : On July 17, 2009 11:45 PM said:

These vidios really very good and help for the beginner.

I use the SQL Server 2005 to atach the data files but always failed.

If these MDF files was created for SQL 2008?

sohail1 : On August 18, 2009 9:14 PM said:

can anyone tell me how to declare 'questionDetails' .. else Im stuffed :(

sohail1 : On August 21, 2009 8:18 PM said:

EUREKA ! go to http://msdn.microsoft.com/en-us/beginner/bb308760.aspx

the code files are there :))

questionDetails is the ID of the detailsview control

Leave a Comment

You must be logged in to leave a comment. Click here to log in.

Microsoft Communities