Here's a quick XML sample of the data structure for such a survey. It
should give you an idea of the kind of object graph you can create to
manage such data.
You can easily use any UI to bind to such a data structure and then
update values according to user choice. Then at the end of the survey,
you can create charts to summarize the choices.
---
<?xml version="1.0"?>
<Survey pageSize="5">
<Question index="1" type="open" weight="10">
<Text>What is your name?</Text>
<Answer>Cerby</Answer>
</Question>
<Question index="2" type="close" weight="15">
<Text>What is your gender?</Text>
<Options>
<Option index="1">
<Text>Male</Text>
</Option>
<Option index="2">
<Text>Female</Text>
</Option>
<Option index="3" weight="0">
<Text>Undefined</Text>
</Option>
</Options>
<Answer>1</Answer>
</Question>
<Question index="1" type="multiple" weight="50">
<Text>What is your education?</Text>
<Options>
<Option index="1" weight="20">
<Text>High school</Text>
</Option>
<Option index="2" weight="40">
<Text>Graduate</Text>
</Option>
<Option index="3" weight="60">
<Text>Post-Graduate</Text>
</Option>
<Option index="4" weight="80">
<Text>Ph.D</Text>
</Option>
<Option index="5" weight="0">
<Text>Illiterate</Text>
</Option>
</Options>
<Answer>4</Answer>
</Question>
</Survey>
---
On Apr 10, 7:44 pm, [email protected] wrote:
> Yes, you're right.
> Enviado desde mi móvil BlackBerry Orange.
>
>
>
> -----Original Message-----
> From: Stephen Russell <[email protected]>
>
> Sender: [email protected]
> Date: Tue, 10 Apr 2012 09:18:04
> To: <[email protected]>
> Reply-To: [email protected]
> Subject: Re: [DotNetDevelopment] Survey in asp.net
>
> On Thu, Apr 5, 2012 at 9:04 AM, <[email protected]> wrote:
> > Ok, there is three types of questions, open( textarea) , close( radio
> > buttons) and multiple (check box).
>
> > I just need to present the data and the final results in graphs.
>
> -----------
>
> How are you getting the collection or shell of what Questions to
> present? From that collection you probably have a mix of Question
> type, as well as all the text necessary for it. Right?
>
> As I first stated this is the hard part.
>
> --
> 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
> athttp://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
> or visit the group website athttp://megasolutions.net- Hide quoted text -
>
> - Show quoted text -
--
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