On Mon, Nov 28, 2011 at 8:37 PM, Suraj <[email protected]> wrote: > Survey: > > ------------------------------------------------------------------------------------------------------- > > Question1 DropDownList1 > DropDownList11 > > Question2 Textbox1 Textbox11 > > Question3 DropDownList31 DropdownList32 > > > SaveButton > > ------------------------------------------------------------------------------------------------------ > > > Above is the lay out i need to create for a survey page. Each question has 2 > columns. The columns can contain either drop down or a text box. --------------------- Question Table First Column is the key, Second is the AnswerType.
This is related to the Answers table that has the fKey to Questions. Allowing you to preset multiple choice answer text here, have multiple answers that are not always shown. Also need to identify which one is correct. > When the user clicks on SaveButton, i need to insert the selected values > into database. You would have generated a datatable or data class for this. Just iterate through the object to identify which questions and the answer that was selected. That gets written one row per question to ExamAnswers. -- Stephen Russell 901.246-0159 cell -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net
