Radiobuttons - Groupbox

  • Thread starter Thread starter --=|3s|=--
  • Start date Start date
3

--=|3s|=--

Hi,

I'm trying to create a form 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
 
radioButton.DataBindings.Add("checked", MyDataSet, "TableName.FieldName")
--=|3s|=-- said:
Hi,

I'm trying to create a form 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
 
Back
Top