473,230 Members | 1,610 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,230 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 1064
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Michael | last post by:
Hi All, I am working on my intranet reporting web site, by use of IIS5 + Office2000 +SQL2000. Currently, the first step, I show user an ASP web-interface to collect user input, keyword...
16
by: LP | last post by:
Hi, Considering code below. Will it make GC to actually collect. One application creates new instances of a class from 3rd party assembly in a loop (it has to). That class doesn't have .Dispose or...
9
by: Frank Rizzo | last post by:
I understand the basic premise: when the object is out of scope or has been set to null (given that there are no funky finalizers), executing GC.Collect will clean up your resources. So I have...
11
by: Antonio | last post by:
Hello, here is what I am doing. 1) user accesses web page and clicks button to build report 2) web page accesses web service whose data type is DataSet (public DataSet methodname()...) 3) web...
5
by: Mrinal Kamboj | last post by:
Hi , Any pointers when it's absolute necessary to use it . Does it has a blocking effect on the code , as GC per se is undeterministic . what if GC.collect is followed in next line by...
3
by: David | last post by:
My goal is to collect all the textboxes on a given page in code (or all checkboxes). The only way that I know how is traversing through the hierarchy and collect them Page |__Controls...
6
by: Senthil | last post by:
Hi All We are having a VB application on SQL. But we need to collect information from persons who will be offline to verify data and insert new data. Generally they will be entering the data in...
4
by: svgeorge | last post by:
I NEED TO COLLECT FROM THE GRIDVIEW(DATASELECTED) IN TO A TABLE(SelectedPayment) -------------------------------------------------------------------------------- How TO COLLECT THE ROWS...
3
by: oravm | last post by:
Hi, I re-write a query and used bulk collect to improve the performance of the batch process. The query below has NO compile error but when execute query there is error 'ORA-01403: no data...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

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.