User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 423,075 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,336 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 488 | Replies: 7
Reply
Join Date: Jul 2008
Posts: 1
Reputation: kalyanapu is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
kalyanapu kalyanapu is offline Offline
Newbie Poster

Online Test Creation

  #1  
Jul 21st, 2008
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....
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2007
Location: Surathkal
Posts: 106
Reputation: tuse is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 10
tuse's Avatar
tuse tuse is offline Offline
Junior Poster

Re: Online Test Creation

  #2  
Jul 21st, 2008
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.
My blog on .NET- http://dotnet.tekyt.info
Reply With Quote  
Join Date: Jul 2007
Location: Surathkal
Posts: 106
Reputation: tuse is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 10
tuse's Avatar
tuse tuse is offline Offline
Junior Poster

Re: Online Test Creation

  #3  
Jul 21st, 2008
Its just that the code is in VB.NET. I guess you can still figure out the logic
My blog on .NET- http://dotnet.tekyt.info
Reply With Quote  
Join Date: Apr 2007
Posts: 257
Reputation: greeny_1984 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 10
greeny_1984's Avatar
greeny_1984 greeny_1984 is offline Offline
Posting Whiz in Training

Re: Online Test Creation

  #4  
Jul 21st, 2008
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."
Reply With Quote  
Join Date: Jul 2007
Location: Surathkal
Posts: 106
Reputation: tuse is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 10
tuse's Avatar
tuse tuse is offline Offline
Junior Poster

Re: Online Test Creation

  #5  
Jul 22nd, 2008
hi greeny,

could you please enable debugging in your web.config and tell me where exactly you are getting the error?
My blog on .NET- http://dotnet.tekyt.info
Reply With Quote  
Join Date: Oct 2006
Location: somewhere in West-Africa
Posts: 202
Reputation: jamello is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 6
jamello's Avatar
jamello jamello is offline Offline
Posting Whiz in Training

Re: Online Test Creation

  #6  
Jul 25th, 2008
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?
Reply With Quote  
Join Date: Jul 2007
Location: Surathkal
Posts: 106
Reputation: tuse is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 10
tuse's Avatar
tuse tuse is offline Offline
Junior Poster

Re: Online Test Creation

  #7  
Jul 25th, 2008
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
My blog on .NET- http://dotnet.tekyt.info
Reply With Quote  
Join Date: Oct 2006
Location: somewhere in West-Africa
Posts: 202
Reputation: jamello is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 6
jamello's Avatar
jamello jamello is offline Offline
Posting Whiz in Training

Re: Online Test Creation

  #8  
Jul 25th, 2008
aww..!
I use vs 2005. but would upgrade soon.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 5:29 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC