Question creating a control at runtime from database field values

wmdaniels

Member
Joined
Sep 19, 2011
Messages
6
Programming Experience
Beginner
hi,

I'm new to programming and would like to know how can i create radio buttons at runtime using the field values in my sql database. Im creating a survey application.(windows forms)
in the relational database i have 2 tables one for questions and one for options.
 
Easily enough if you know what your doing from the start simply

'To GET stored String From Database
Mradiobutton.Text = Database Field Value

'To SET stored string or Boolean to Database
Database Field Value = Mradiobutton.Text

Other than that i would search on here about database's or Google it. hope that helps
 
Back
Top