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

Access db and binding a group of radio buttons in vb


I have two radio buttons of boolean type in a panel. When adding data
to an access database or showing them via a query i have no problem.
However, when i want to edit the data (they are in a grid) the value of
the radio button is always assigned to true. No changes are made in the
database when i want to change the value of the radio button. How do i
make this data binding?


Jul 25 '05 #1
3 2078

Do you have for those two radiobuttons two boolean values or one.

I have the idea that you have one, and that can only be binded to one.

Otherwise show us the code that you use to bind.

FYI did you know that there is a special VBNet language newsgroup.


I hope this helps,

Jul 25 '05 #2
Dear Cor

An analogy of what i need is the following:
Say e.g. you have a groub box "Sex" and two radio buttons "Male" and
When you recall the form to edit the information of the person to
change from male to female :) what is the binding i have to make. From
the properties i cannot do data binding cause there are two radio

Thanks again

Jul 25 '05 #3
See my answer in your reply
Jul 25 '05 #4

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

Similar topics

by: Rick | last post by:
After being frustrated with this issue on several occasions I think I found the secret sauce for solving the issue after reading a few different messages about what others thought and trying a...
by: Craig Keightley | last post by:
I have a page that has n number of radio groups (yes/No) how can i prevent the form being submitted if more than one radio group is not selected? By default all radio groups are unchecked ...
by: Savvas | last post by:
Dear Cor Ligthert My account is not yet validated so i cannot log in to reply directly to you. An analogy of what i need is the following: Say e.g. you have a groub box "Sex" and two radio...
by: Savvas | last post by:
Hi all I still havent managed to bind the radio buttons. I have two radio buttons in a groupbox. Adding a record and choosing either one of the two i have no problem - the correct boolean value...
by: Jon Hoowes | last post by:
Hi, I have inherited some code that has some form elements (radio buttons) that are called "1", "2" etc. for example: <input name="2" type="radio" value="45"> <input name="2" type="radio"...
by: Savvas | last post by:
Hi I have two radio buttons of boolean type in a panel. When adding data to an access database or showing them via a query i have no problem. However, when i want to edit the data (they are in a...
by: jehugaleahsa | last post by:
Hello: I have radio buttons bound to boolean properties in a business object. private void bindRadioButton(RadioButton button, string propertyName) { Binding binding =...
by: moksha | last post by:
Hi, I am new to javascript and i am facing a problem in coding. plz help me out. I am using javascript for dynamically creating a table row which contains text boxes and radio...
by: NordeDakota | last post by:
Question: as per the VS documentation I can bind to a group box, what is the syntax? I have the following for checkboxes: public void BindCheckBox(DataSet myDataSet, string rowCol, CheckBox...
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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...
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...
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,...
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...

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.