Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 30th, 2006, 09:36 AM
Authorized User
 
Join Date: Apr 2006
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Default Get values from RadioButtonList

Hi, May I know how to insert the selected values from the radiobuttonlist into database? I having trouble to retrieve and store the selected value on the radiobuttonlist. How do i do. Please help.I am coding in C#. Thanks



 
Old May 30th, 2006, 09:45 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

You have to loop through the items in the RadioButtonList
for (int i = 0; i <= RadioButtonList1.Items.Count - 1; i++) {

...Get values here and Insert into the DB...

}






Similar Threads
Thread Thread Starter Forum Replies Last Post
RadioButtonList sumith ASP.NET 2.0 Basics 0 October 2nd, 2007 11:30 PM
radiobuttonlist + textbox Bartdude ASP.NET 1.0 and 1.1 Basics 2 December 5th, 2006 10:38 AM
get values from radiobuttonlist debjanib ASP.NET 1.0 and 1.1 Professional 1 May 30th, 2006 09:36 PM
Can't get RadioButtonlist with databind nayalksrs123 .NET Web Services 0 January 15th, 2005 06:29 AM
radiobuttonlist fzilz VS.NET 2002/2003 1 April 9th, 2004 10:03 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.