In my form I used Ribbon control in that RadioGroup is used for calculations. Now I need to store content of form and want to retrieve it back if I click in Gridview. I can able to store and retrieve textedit, lookup edit and checkedit outside Ribbon Control. How to store and retrieve the RadioGroup from Ribbon Control ??
example for storing CheckBox I used this code
bool temp = barCheckItem1.Checked;
In Access Database used "Yes/No" Data Type to store. For retrieve used this code
barCheckItem1.Checked = reader.GetBoolean(2);
this code work fine for CheckBox but I need to Store RadioButton RadioGroup. How to Store & Retrieve it ?? Help me. Thanks in Advance.
Just store
barEditItem.EditValue
which is the selected item in theRadioButton
.I assume you have
int
asEditValue
from your previous question. So this should be enough.Store the selected item in DB