in vb.net windows application, i have two raddiobutton in a groupbox,

if i select radiobutton1 then the value=1
if select radiobutton2 then the value=2
how can i do please help me