i m working with vb.net for windows application..
in my application i used 8radio buttons for 4fileds in my application..like male or female..
....whn i run my application i have to choose 4 radio buttons out of 8(4fields)...
.when i click Add button i want store information about which button i clicked in radion button controls... i.e. i want store information about radion buttons..i know how to insert text to database but i dono how we can insert radion button values to Database.... can u explain sir with code sir....
BrijPosted Aug 30, 2007, 10:21 PM
hi,
if u know how to store text ... then u can easily store the value of radio button...
what kind of value do radio button returns?????
==>Boolean value... So in database u'r table attribute should of type bit. don't worry about true/false value return by a radio button. they automatically get converted to 1/0 resp.
thanx