473,396 Members | 1,970 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,396 software developers and data experts.

RadioButtonList

ck
VB 2005 Express Edition

I need to propagate the results of a selection of radio buttons over several
pages and eventually write the results (values) of the radiobuttons to CSV
file.

Best approach?
Nov 8 '06 #1
2 1342
How about a little more information about what you're trying to do?
Are these like answers to multiple choice questions?

1. Do you know how to program? o Yes _ No
2. Do you program for Windows? o Yes _ No
3. Do you know assembly language? _ Yes o No
4. Do you know C++? _ Yes o No
Write string to file:

"Y","Y","N","N"
Something like this?
On Wed, 08 Nov 2006 06:04:36 GMT, "ck" <a@b.comwrote:
>VB 2005 Express Edition

I need to propagate the results of a selection of radio buttons over several
pages and eventually write the results (values) of the radiobuttons to CSV
file.

Best approach?
Nov 8 '06 #2
ck
>>VB 2005 Express Edition

I need to propagate the results of a selection of radio buttons over
several
pages and eventually write the results (values) of the radiobuttons to CSV
file.

Best approach?
"Kevin" <Ke****@nospam.cfl.rr.comwrote in message
news:ug********************************@4ax.com...
How about a little more information about what you're trying to do?
Are these like answers to multiple choice questions?

1. Do you know how to program? o Yes _ No
2. Do you program for Windows? o Yes _ No
3. Do you know assembly language? _ Yes o No
4. Do you know C++? _ Yes o No
Write string to file:

"Y","Y","N","N"
Something like this?
On Wed, 08 Nov 2006 06:04:36 GMT, "ck" <a@b.comwrote:

Yes, these are very much multiple choice questions. Example:

Five pages of rate-this-on-a-scale-of-one-to-five type questions, five
pages, each page has a *next* and *back* button, final page has a *finish*
button.

Results would be a CVS file like :

1,4,2,3,5,1,1,2,4,5.....etc, quotes would be ok also "1","4","2",.....etc,
eventually these will be imported to an Excel speadshee. Aggregated data
from several users will crunched and the results will be emailed back to the
user. Automating this will be the next step.

I've done this in a stand alone VB6 application and used a control array of
radio buttons within frames and creative use of the modulus operator to
summarize the the results, but I'm really trying to convert this to a web
based survey quickly.

What I'd like is some direction as far as scope or such, i.e. when I reach
the last page can I get the selected value of RadioButtonList1 or am I going
to have to save the data as I go along?

Or, should I somehow bind the selections to a temporary record in a database
and copy to a new record when the *finish* button is clicked?

I'm coming from the world of VB6 classic and the server/client side stuff is
a bit confusing.

Any direction would be appreciated

Chris A. Kusmierz
Nov 10 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Tapi | last post by:
Hello there, I am new to ASP .NET and am tryimg to create a RadioButtonList dynamically. My code below gives an "Index was out of range" error. Where am I going wrong?
6
by: Hazzard | last post by:
I store radiobuttonlist values in the db using the string value of the radio button item value. (nvarchar) I am creating an edit functionality on the asp.net form so that when I reuse my...
3
by: William LaMartin | last post by:
If I create a RadioButtonList with, say, two items, then after the page loads and I select one of the items and then click on a button whose click event contains some code to display the...
5
by: DotNetGruven | last post by:
Anyone have any pointers on how to set the Value and Selected attributes in a ListItem in a RadioButtonList that is in a DataGrid? Here's what I have ------DataGrid------ -- BoundColumn 0 --...
6
by: DotNetGruven | last post by:
I have a webform that has a DataGrid on it with a RadioButtonList in each row. It is a simple On & Off. When the User Clicks on either of the RadioButtons, I need to postback to the server and...
4
by: Emil | last post by:
Can somebody tell me what would be the syntax for having an if statement and setting the selected index of a radiobuttonlist? This is my first project using ASP.net and I use C#. I have a repeater...
4
by: juststarter | last post by:
Hello, I have an aspx file where i've put a placeholder element. On load (page_load) i create dynamically an html table which contains a checkbox and a radiobuttonlist in each tablerow . The...
5
by: Řyvind Isaksen | last post by:
I'm making a page to update articles. When a radiobuttonlist is displayed, I want the stored value to be displayed as default (checked). Example: I use a procedure to display the...
5
by: =?Utf-8?B?UGF1bA==?= | last post by:
Hallo, I have a radiobuttonlist control that is added on a custom Web User Control. This control has a property that exposes the SelectedIndex property of the embedded radiobuttonlist. When...
6
by: SAL | last post by:
hello, I'm using a radiobuttonlist in an updatepanel in an item template in a Gridview control. I'm populating the radiobuttonlist in the RowDataBound event. I have the control toolkit registered...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...

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.