471,325 Members | 1,458 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,325 software developers and data experts.

Collect user answers

Hi,
In my visual C# window application I have a set of questions and answers and
the users should select one answer clicking the Radio Button. How I can
collect the user’s answer each time he/she select an answer and transfer it
to an xml file?

Thanks
--
Nejadian
Jun 27 '08 #1
3 974
On Apr 29, 1:37*pm, Tammy Nejadian
<TammyNejad...@discussions.microsoft.comwrote:
Hi,
In my visual C# window application I have a set of questions and answers and
the users should select one answer clicking the Radio Button. How I can
collect the user’s answer each time he/she select an answer and transferit
to an xml file?

Thanks
--
Nejadian
Hi,

You can keep your question/answers in a dataset and later serialize
it.
Jun 27 '08 #2
Thanks, how I can do that? Is there any specific code for that?
--
Nejadian
"Ignacio Machin ( .NET/ C# MVP )" wrote:
On Apr 29, 1:37 pm, Tammy Nejadian
<TammyNejad...@discussions.microsoft.comwrote:
Hi,
In my visual C# window application I have a set of questions and answers and
the users should select one answer clicking the Radio Button. How I can
collect the user’s answer each time he/she select an answer and transfer it
to an xml file?

Thanks
--
Nejadian

Hi,

You can keep your question/answers in a dataset and later serialize
it.
Jun 27 '08 #3

Google search for

"strongly typed" dataset
and
DataSet.ReadXml
and
DataSet.WriteXml
...


"Tammy Nejadian" <Ta***********@discussions.microsoft.comwrote in message
news:0C**********************************@microsof t.com...
Thanks, how I can do that? Is there any specific code for that?
--
Nejadian
"Ignacio Machin ( .NET/ C# MVP )" wrote:
>On Apr 29, 1:37 pm, Tammy Nejadian
<TammyNejad...@discussions.microsoft.comwrote:
Hi,
In my visual C# window application I have a set of questions and
answers and
the users should select one answer clicking the Radio Button. How I can
collect the user's answer each time he/she select an answer and
transfer it
to an xml file?

Thanks
--
Nejadian

Hi,

You can keep your question/answers in a dataset and later serialize
it.

Jun 27 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Frank Rizzo | last post: by
5 posts views Thread by Mrinal Kamboj | last post: by
3 posts views Thread by David | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.