Click here to Skip to main content
16,004,882 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Rendering boolean value in a script block. Pin
Christian Flutcher28-Jul-08 7:40
Christian Flutcher28-Jul-08 7:40 
QuestionMethod Signature is not correct [modified] Pin
Member 451421828-Jul-08 2:24
Member 451421828-Jul-08 2:24 
Questionwhat is Difference between filestream and memorystream Pin
Member 410061528-Jul-08 2:06
Member 410061528-Jul-08 2:06 
AnswerRe: what is Difference between filestream and memorystream Pin
eyeseetee28-Jul-08 3:13
eyeseetee28-Jul-08 3:13 
QuestionSoap Call to a Webmethod platform Pin
Anoop Unnikrishnan28-Jul-08 1:26
Anoop Unnikrishnan28-Jul-08 1:26 
QuestionCreating a gridview programatically in asp.net 2.0 Pin
vijaylumar28-Jul-08 1:21
vijaylumar28-Jul-08 1:21 
AnswerRe: Creating a gridview programatically in asp.net 2.0 Pin
Sherin Iranimose28-Jul-08 2:43
Sherin Iranimose28-Jul-08 2:43 
QuestionOnline Test Creation Pin
kalyanapu28-Jul-08 1:15
kalyanapu28-Jul-08 1:15 
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 button. 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..

my requirement:
1)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 button.
2) the selected option should be saved to database table. because i have Previous Test page in which i have to show all the previous tests Taken, along with all the questions in that test with which option user was selected during test
3)i have to maintain a timer....

please give suggestion on coding...
Questionhow to use user control in more two user controls. Pin
lakshmichawala28-Jul-08 0:38
lakshmichawala28-Jul-08 0:38 
AnswerRe: how to use user control in more two user controls. Pin
eyeseetee28-Jul-08 1:18
eyeseetee28-Jul-08 1:18 
QuestionSPQuery trouble Pin
Hakmeh Mohannad28-Jul-08 0:33
Hakmeh Mohannad28-Jul-08 0:33 
QuestionNot considering "If condition in inside the foreach statement" [modified] Pin
Member 387988128-Jul-08 0:13
Member 387988128-Jul-08 0:13 
AnswerRe: Not considering "If condition in inside the foreach statement" Pin
Blue_Boy28-Jul-08 0:50
Blue_Boy28-Jul-08 0:50 
GeneralRe: Not considering "If condition in inside the foreach statement" Pin
gaurav mangal28-Jul-08 2:24
gaurav mangal28-Jul-08 2:24 
GeneralRe: Not considering "If condition in inside the foreach statement" Pin
Blue_Boy28-Jul-08 4:59
Blue_Boy28-Jul-08 4:59 
AnswerRe: Not considering "If condition in inside the foreach statement" Pin
Sherin Iranimose28-Jul-08 3:23
Sherin Iranimose28-Jul-08 3:23 
Questionpercentage signs around sql parameter Pin
eyeseetee28-Jul-08 0:08
eyeseetee28-Jul-08 0:08 
AnswerRe: percentage signs around sql parameter Pin
Blue_Boy28-Jul-08 0:15
Blue_Boy28-Jul-08 0:15 
GeneralRe: percentage signs around sql parameter Pin
eyeseetee28-Jul-08 0:28
eyeseetee28-Jul-08 0:28 
GeneralRe: percentage signs around sql parameter Pin
Blue_Boy28-Jul-08 0:30
Blue_Boy28-Jul-08 0:30 
QuestionOnClientClick Pin
Reelix27-Jul-08 23:44
Reelix27-Jul-08 23:44 
AnswerRe: OnClientClick Pin
Blue_Boy28-Jul-08 0:08
Blue_Boy28-Jul-08 0:08 
GeneralRe: OnClientClick Pin
Reelix28-Jul-08 0:11
Reelix28-Jul-08 0:11 
GeneralRe: OnClientClick Pin
Blue_Boy28-Jul-08 0:16
Blue_Boy28-Jul-08 0:16 
Questionsqlbulk copy asp.net c# Pin
VijayVishwakarma27-Jul-08 22:20
VijayVishwakarma27-Jul-08 22:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.