954,595 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Online Test Creation

hi,
I am designing Online Test Creation Using asp.net(C#). in that question display should be like this;

.....................Question.............................
O opt1
O opt2
O opt3
O opt3

prev next (buttons)

my questions and Options had saved in two Sql tables.

Question(idquestion,Qname,Answer,Qtype) idQuestion is primary key

Answer_Detail(idAnswerDetail,idquestion,options) idAnswerDetail is primary key and idquestion is Foreign Key

how can i display one question at a time randomly, if i have 100 questions in my database. on next button click i have to get another
question and on previous button click i have to go back to previous Question. which control i have to use for this one. i have to select
one radio button among given following four options.
i used grid view,details view ..etc but i could not get the above format.. how can i do it, because i have show which Option is selected during Prev and next button clicks.. i have to store all these question ids and which option is selected into database....

kalyanapu
Newbie Poster
1 post since Jul 2008
Reputation Points: 10
Solved Threads: 0
 

I have made a similar project. You might want to see the code-

http://dotnet.tekyt.info/?p=34

In case you have any doubts about the code, do ask here.

tuse
Junior Poster
173 posts since Jul 2007
Reputation Points: 32
Solved Threads: 14
 

Its just that the code is in VB.NET. I guess you can still figure out the logic

tuse
Junior Poster
173 posts since Jul 2007
Reputation Points: 32
Solved Threads: 14
 

hi tuse,
i have seen u r web link and downloaded u r project.I am getting error in web.config as

"Child nodes not allowed."

greeny_1984
Posting Whiz
372 posts since Apr 2007
Reputation Points: 25
Solved Threads: 29
 

hi greeny,

could you please enable debugging in your web.config and tell me where exactly you are getting the error?

tuse
Junior Poster
173 posts since Jul 2007
Reputation Points: 32
Solved Threads: 14
 

tuse, your online test solution looks interesting. I had downloaded a copy and was wondering which version of vs did you use for development. v2 or 3.0?

jamello
Posting Whiz in Training
219 posts since Oct 2006
Reputation Points: 215
Solved Threads: 6
 

Hi jamello!

Its made in Visual Studio 2008 using .NET Framework 3.5

ps- You need to have AJAX in order to get it working in VS 2005

tuse
Junior Poster
173 posts since Jul 2007
Reputation Points: 32
Solved Threads: 14
 

aww..!
I use vs 2005. but would upgrade soon.:(

jamello
Posting Whiz in Training
219 posts since Oct 2006
Reputation Points: 215
Solved Threads: 6
 

Hi jamello!

Its made in Visual Studio 2008 using .NET Framework 3.5

ps- You need to have AJAX in order to get it working in VS 2005


thanks for your codding

nirajs
Newbie Poster
12 posts since Sep 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You