title: Check radiobuttons after SqlDataReader
body: <p>I have 2 radio buttons in a panel and I save their value as numeric (0 and 1) here is the code for insert into SQL:</p>
  
  <pre><code>String typdop="1";
  if(rb_a.Checked)typdop="0";
  ("INSERT INTO zajezd(typdop)values(@typdop")
  prikaz.Parameters.AddWithValue("typdop", typdop);
  </code></pre>
  
  <p>and for reading I use this:</p>
  
  <pre><code>SqlCommand novyprikaz = new SqlCommand("SELECT * FROM zajezd WHERE akce="+nc_zajezd_vyber, spojeni); 
  con.Open();
  SqlDataReader precti = novyprikaz.ExecuteReader();
  
  if (precti.Read())
  {
       try
       {  rb_a.Checked = precti(32);}
  </code></pre>
  
  <p>the visual studio gives me an error, because I don't know how to change Checked value of <code>rb_a</code>, I would like to read it like this:</p>
  
  <p>If in database is saved <code>0</code> - Check <code>rb_a</code></p>
  
  <p>If <code>1</code> I would like to check <code>rb_b</code></p>
  
  <p>May someone help solve this out?
  Thanks</p>