473,569 Members | 2,692 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Radiobuttons - Groupbox

Hi,

I'm trying to create a form in VISUAL BASIC .NET wich shows values of
records from a customers table. For example a form wich shows the
name, surname and sex of a person. For the name & surname i
create a textbox. then I select the correct table in the databinding
propertie of the name and surname textbox. but for showing the
correct sex of a person, i would like to use a radiobuttons. So i
create 2 radiobuttons on my form (rbMale & rbFemale). How can I
apply databinding on those 2 radiobuttons?
I have buttons on my form to move between records. So if i move
between my records... the radiobuttons of the sex must change if the
person is male or female...

please help, thx

Dries
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 20 '05 #1
1 1604
Cor
Hi Dries Cornelissen,

You could find a lot of samples in this vb resource kit.

http://msdn.microsoft.com/vbasic/vbrkit/default.aspx

And if you have problems installing it

http://msdn.microsoft.com/vbasic/vbr...q/#installvdir

I hope this helps a little bit?

Cor

I'm trying to create a form in VISUAL BASIC .NET wich shows values of
records from a customers table. For example a form wich shows the
name, surname and sex of a person. For the name & surname i
create a textbox. then I select the correct table in the databinding
propertie of the name and surname textbox. but for showing the
correct sex of a person, i would like to use a radiobuttons. So i
create 2 radiobuttons on my form (rbMale & rbFemale). How can I
apply databinding on those 2 radiobuttons?
I have buttons on my form to move between records. So if i move
between my records... the radiobuttons of the sex must change if the
person is male or female...

please help, thx

Dries

Nov 20 '05 #2

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

Similar topics

0
2124
by: MB | last post by:
I have a set of RadioButtons grouped in a GroupBox that I need to data bind to a custom object. The custom object looks something like this: public CustomObject { private bool checked1 = true; private bool checked2 = false; private bool checked3 = false; public bool Checked1
1
269
by: Diogo Alves - Software Developer | last post by:
Is there any way to allow multiple radiobuttons checks without using groupbox or anything like that....???
3
3295
by: lgbjr | last post by:
Hi All, I have 5 radiobuttons in a groupbox and I'm trying to uncheck all of them: Dim ctrl as Control For each ctrl in GB.Controls If TypeOf ctrl Is RadioButton Then ctrl.Checked=False 'This doesn't work! Endif Next
2
1493
by: paul.mason | last post by:
I was wondering if anyone else had come across this "feature" of .NET and if they had any idea what might be causing it. I've been writing my first C# Windows application (so if there's anything so appalling in my code that it gives experienced developers a touch of the vapours, I hope you'll be indulgent!) I've written my own code to...
1
2339
by: alberto | last post by:
If you place a RadioButton in a user control, it won't be exclusive with others radio buttons in a form because its parent is the user control, not the form. How can you solve this? Thank you
0
1431
by: Rich | last post by:
Hello, I have a form that contains some textboxes and a couple of groupboxes that contain some radiobuttons. I have set the tabstop to false for all the radiobuttions. When the form originally opens, none of the radiobuttons are checked. If I tab through the textboxes, it tabs in the correct order without tabbing into the groupboxes. ...
4
2769
by: Paul Bromley | last post by:
Hope someone can help me here. I thought this may be easy to find on Google, but I have not come across the answer. I have developed an application in VB.Net 2003 with a manifest file for displaying with XP themes. On most sites it is running fine. On one site, some of the PCs have the application on with no problems, but on a couple I have...
0
1419
by: PaulS | last post by:
Hello! I put on Form PictureBox and I set big image. Next I put many radiobuttons (80) on PictureBox, but I have problem. I want that 10 radiobuttons have own Checked, next part of 10 radiobuttons have own Checked, etc. I tried add GroupBox on PictureBox, next add RadioButtons. But there is problem that I can't set visible only...
8
44022
by: =?Utf-8?B?UmljaA==?= | last post by:
If you enclose a group of radiobuttons (option buttons in MS Access) in an option group control (a frame control) in Access -- the frame control will return the index of the option button that is checked. In VB.Net if I enclose a group of radiobuttons in a groupbox control - I get the single checked radiobutton behavior, but the groupbox...
0
7698
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
1
7673
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7970
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6284
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5513
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1213
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.