How To Display Questions And Answers
May 11, 2010
I want to create a survey. I want to display the format like this:Question1
a) blah blah
b)
c)
d)
Question2
a)
b)
..
I have no clue which control to use. If I use repeater, how to bound the questions and the answers from the datasource?
View 9 Replies
Similar Messages:
Sep 3, 2010
i am new for asp.net. i want to develop a simple web application(asp.net+c#) which display questions and multiple choice answers and calculate result. i want to know which one is the best way for me to do it.i want to use linq to sql.
View 1 Replies
Feb 4, 2011
I have created one exam module where user will give the answers of objective questions.I have created next buttoon now i am getting first question in form load and now on click of next button shall i increase the question no +1 or some thing else.
View 1 Replies
May 25, 2010
I want to build a survey system where you can build a form with questions and some answers to these questions and then members who will log in will be able to take the test.
Then i want to present the different results from the test in some diagram or something like that.
View 5 Replies
Oct 20, 2010
In my project I have a web service that returns an Exam object. This object contains a property that returns set of multiple choice questions in Questions[] array. Each Question object in Questions array contains two properties, Question and ChoiceArray. To clear things here's the code,
Exam e = service.GetExam(long CenterID);
Questions[] questions = e.Questions;
foreach(Qestion question in questions)
{
string q = question.Question;
Choice[] choice = question.Choice;
}
I need to know a way I can all of these question and their choices onto a form. Since I have these as arrays I can not bind them properly using DataList. how to display these questions and their choices on to the form and on choice selection, get the value of the selected answer for each question back.
View 1 Replies
Nov 25, 2010
Hi,
I need some explanations regarding the above exception.
I understood that if you place a response.redirect inside a try catch block, u will get the exception and the aspnet will handle the exception silently without the user knowing. But the thing is that right now i am having a hard time thinking of a reason
why the error will occur after some changes has been made and the codes with the response.redirect has not been touched.
Regards,
Poh Wei Xiang
View 1 Replies
Jul 8, 2010
I am a windows developer 3.6 Exp in .Net,i need some good link or questions for interview preprations of C#.net & Asp.net 3.5
View 2 Replies
Jun 17, 2010
We are using recaptcha ASP.NET control:[URL]However, we find that in some situations, recaptcha accepts answers which are clearly wrong.For example, recaptcha provided these words: of purserThe tester typed in the following: o purser ..but Page.IsValid returned true! Is this a known issue with recaptcha?
View 1 Replies
Mar 21, 2011
The default asp membership provider only allows for one security question and answer. Does anyone know a work around to allow for more than one question and answer?
View 1 Replies
Nov 3, 2010
I am working a survey project. There are about 30 questions. I created two pages to sore these questions. Each page has 15 questions. When user opens page2 and then back to page1, all answers of page1 are not in page1 any more. How to keep all answers in page1 when user open page2?
View 2 Replies
Jan 19, 2011
Have to create an FAQ page in ASP.net which comprises a list of 20 questions (all anchors) and then a Q/A section ftr down the page. The summary questions should jump to the Q/A section. I have the 20 questions in a List<> and have spun through the list creating a new List<> by adding <A></A> etc.
[Code]....
View 3 Replies
Oct 31, 2010
how to do this.or is there any template that one can use for the following-
using visual studio to design questions and answers with outcome of the grade immediately after submition and with timing.
For example, having questions 1 to 10, providing options like A, B, C,D, then let students choose from the right answer from the questions, then, after submition, an outcome of grade is displayed based on the right answer.
View 2 Replies
Dec 9, 2010
I have tried Googling and cannot come up anything that exactly answers my question.
Is there a simple way to do this that adds the image name into a database field as well as uploading the image?
I'd ideally like to do this in both the insert and edit templates.
View 4 Replies
Feb 26, 2014
I am making a online exam project i want to count the correct answers the questions and option are in datalist. Iam looping inside datalist but i want to know how to count the correct answers and display result...
View 1 Replies
Nov 3, 2010
I am working a survey project. There are about 30 questions. I created two pages to sore these questions.
View 2 Replies
Jan 13, 2010
In a two column table I have a datalist pulling questions from a sql table in one and a dropdown list showing options for people to choose in the other.It all works well.The issue I have is with the formatting, since some questions span two lines, the dropdown list does not match the questions all the time. How can I make sure the dropdown list matchs the questions?I have valign=top on both cells.Do I need to reformat the datalist? I tried putting a dropdown list in a datalist cell, but that did not work.
View 1 Replies
Dec 8, 2010
1) In a repeater table I have a two-column radio list with seven buttons:
I would like to have the last button (infinitive) centered below the other six so that it looks something like this:
1 o 1 o
2 o 2 o
3 o 3 o
o Infinitive
2) In the same table I also have the following radio list
<asp:RadioButtonList
ID="RadioButtonList1"
runat="server"
AutoPostBack="True"
BorderStyle="None"
RepeatColumns="3"
repeatdirection="Horizontal"
[Code]....
View 3 Replies
Feb 25, 2010
For an online examination system, user actions/answers to be stored and later retrieved if user connection is down. Which logic should be preferred, client side logic [cookie], or server side logic [Session/Database]?
[Edit]
How user answers will be stored? using specific timer interval for storing user answers? or after specific parts of exam? What is best practice for implementing such solutions?
View 2 Replies
Dec 9, 2014
I am building this simple quiz application using asp.net/vb.net and sql server for the database. Now what I want to happen is that when I click on submit button, it will count all the correct answers of the user based on the radio button he clicks.
I have two radio buttons and the correct answer for those two radio buttons is A, now if they click both A for those 2 radio buttons, they will get a score of two else if wrong, it won't count the incorrect answer.
Code:
Dim score As Integer = 0
If RbAnswers1.SelectedValue = "A" Then
For score = 0 To lbCorrectAnswerCount.Text.Count - 1
score += 1
Next score
If RbAnswers2.SelectedValue = "A" Then
[Code] ...
View 1 Replies
Jan 18, 2011
Object reference not set to an instance of an objectI am getting this error sometimes. I have a page where I load questions and for some question system generate this error. Why do I get this error?
View 2 Replies
Jan 20, 2011
We are developing application using Asp.net (VS2008) & c#. We need to show tooltip in Gujarati language (Indian regional language). When we run application it shows correctly in Mozzila firefox but display as a junk characters in all the version of IE.
View 4 Replies
Jul 6, 2010
inside my model metadata, i have a timespan field that would like to display in all Create, Edit and Display views like "hh:mm". For this, is set DisplayFormatAttribute as follows:
[Code]....
When i try to create a new model object, the time field gets displayed as "00:00:00" im my model (00 is the initial values) instead of "00:00". Is there something i am doing wrong? Note that the same approach works for date fileds, where i want to be displayed as "dd/MM/yyyy" (for this is assign "{0:dd/MM/yyyy}" to the display format attribute).
View 4 Replies
Sep 7, 2010
i have a gridview binded with data when i hover mouse to row i want to display a image button to display date ,and when i click the button i want to display calender control for choose date, and next step after i choose date it will be must insert into database. and mean while a hidden label control will display and date shuld be display in it
View 2 Replies
May 7, 2015
After saving image in db how can we retrieve it in gridview like thumbnail size image and by clicking on image in gridview its open as preview. How can we do this in asp.net using c#.
View 1 Replies
Aug 20, 2010
The coding is in ASP.NET 3.5.Here is the scenario.I am modifying a page that populates some data.In that page there is a table that displays pages. The pages have sub-pages and these sub-pages again have sub-pages.So thats three levels of hierarchal data presented.Right now its populated using asp:Treeview for easier display of the +(maximise) and -(minimise) images and all.Is that the best method?
What are the alternatives?
View 1 Replies