Re: Is this possible in ASP.NET - dynamic questions

From: Scott Mitchell [MVP] (mitchell_at_4guysfromrolla.com)
Date: 10/15/04


Date: Fri, 15 Oct 2004 20:41:15 GMT

dw wrote:
> Hello, all. We're building a Web app where we can have any number of
> questions, which can contain any type of form element -- check boxes, text
> fields, radio buttons, dropdowns, etc. We'd like to build an admin page so
> someone can create the questions and store them on SQL Server. The responses
> from those questions need to then be stored on the database. Is this
> possible or is it just a pipe dream? If possible, is it so complicated that
> it's better to just hard-code the questions? Thanks.

You can definitely add controls dynamically based on various criteria -
in fact I'm in the midst of writing an article for MSDN Online about
this. There's also free survey apps that may be similar to what you're
looking for - they provide an admin page to add questions and whatnot.
The one I've been most impressed with is nSurvey - www.nsurvey.org

hth

-- 
     Scott Mitchell
     mitchell@4guysfromrolla.com
     http://www.4GuysFromRolla.com
		
* When you think ASP.NET, think 4GuysFromRolla.com!