how to create a quiz software using 4 options to answer
and how to check with answers in the database and award
marks....
Answer / neha
First, you need to bind the label control to the questions
in the database as
Label ques = new Label();
ques.DataBindings.Add("Text", bindsource, "Question");
Similarly, you can bind 4 radio buttons to the 4 options of
the question.
You can provide the button then, clicking on which will
calculate the result and move on to the next question.
For calculation, you need to bind another label's tag
property to the correct answer column in the database, and
can match the strings to calculate whether the user has
entered right answer or not.
Based on that, the score variable can be incremented.
| Is This Answer Correct ? | 1 Yes | 0 No |
Which components of a data provider is used to retrieve, insert, delete, or modify data in a data source?
List the 4 common ado.net namespaces?
describe about the ado.net object model
can we have multiple datatables in a datareader ?
18 Answers Fulcrum Logic, Infosys, Kale Consultants, Ness Technologies,
What is sqldatareader?
Give an example of a .net application which connects to microsoft access database using ado.net classes.
What two types of data providers does ADO.NET supply? What determines which one you should use?
Is it possible to edit data in Repeater control?
What connected data?
What is the functionality of data provider in ado.net?
Explain ado.net features? Benefits? Drawbacks?
Define table relations?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)