title: How do I select the right RadioButton from a list of them in a DataFrom EditTemplate based on a SQL row value?
body: <p>I have a DataForm where I set the CurrentItem to an Entity returned from a LINQ RIA DataService. I am using Silverlight 4 with RIA services.</p>
  
  <p>My "Current Item" is an Entity that a is row from SQL table. There's a column called "<code>RestartType</code>" on that table.</p>
  
  <p>I have a DataForm where I set the DataForm.EditTemplate in the XAML.</p>
  
  <p>I have three RadioButtons in my <code>EditTemplate</code>:</p>
  
  <p><code>&lt;RadioButton Content="Restart 1" /&gt;
  &lt;RadioButton Content="Restart 2" /&gt;
  &lt;RadioButton Content="Restart 3" /&gt;</code></p>
  
  <p>How do I make it so IF the <code>RestartType</code> value is 0, then the <code>Restart 1</code> radio button gets selected but the other ones don't get selected, or if the <code>RestartType</code> value is 1, then <code>Restart 2</code> gets selected, and if it is 3 then <code>Restart 3</code> gets selected and other radio buttons get de-selected.</p>
  
  <p>I hope you can understand what I'm trying to do.</p>
  
  <p>Thanks</p>