473,406 Members | 2,745 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,406 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 1070
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.