Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how to create a quiz software using 4 options to answer
and how to check with answers in the database and award
marks....



how to create a quiz software using 4 options to answer and how to check with answers in the datab..

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

Post New Answer

More ADO.NET Interview Questions

What is a database provider?

2 Answers   BioSys,


What is linq and entity framework?

0 Answers  


Why sql Data Reader object not created

9 Answers   Matrix,


How to check if a datareader is closed or opened? IsClosed()

0 Answers  


Define the executescalar method?

0 Answers  


How to load multiple tables into a dataset?

0 Answers  


What is difference between datagridview and datagrid control in winforms?

0 Answers  


How will you differentiate between ADO (ActiveX Data Object) and RDO (Remote Data Objects)?

0 Answers   CGI,


How do you merge two datasets into the third dataset in a simple manner?

3 Answers   IBM,


What is the difference between ado.net and entity framework?

0 Answers  


What is ole db query?

0 Answers  


Which one of the following objects is a high-level abstraction of the connection and command objects in ado.net?

0 Answers  


Categories