how to insert RadioButton into sql server uwp c#

Javier R 211 Reputation points
2021-02-23T18:44:23.34+00:00

how to insert RadioButton into sql server uwp ? having two options. <RadioButton x:Uid="RBVaron" x:Name="radiovaron" GroupName="Gener"/>

Universal Windows Platform (UWP)
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,646 questions
0 comments No comments
{count} votes

7 answers

Sort by: Most helpful
  1. Javier R 211 Reputation points
    2021-10-02T18:07:01.977+00:00

    As I can another Radiobutton code:

    cmd.Parameters.Add("@Risk ", SqlDbType.VarChar, 40). Value = (bool)rRBbajo.IsChecked
    ? RBBajo.Content : RbMedio.Content;`

    0 comments No comments

  2. Javier R 211 Reputation points
    2021-10-25T09:59:34.41+00:00

    how can I get with this code that there are three radiobutton. as I can get with this code that there are three radiobutton. Having these RbBajo, RBMedio, Rbalto

    cmd.Parameters.Add("@risk", SqlDbType.VarChar, 40). Value = (bool)rRBbajo.IsChecked
    ? RBBajo.Content : RbMedio.Content;`
    
    0 comments No comments