lundi 9 novembre 2020

C# WPF Insert checkbox values into database

I am figuring out how I can insert checkbox values into a database. I tried to google some stuff about multiple checkbox values but couldn't find anything. If someone could help me that would be awesome

        <CheckBox Content="Burger" x:Name="burgerCheck" HorizontalAlignment="Left" Height="30" Margin="100,225,0,0" VerticalAlignment="Top" Width="80" Foreground="#FF080606" />
        <CheckBox Content="VegaBurger" Name="VegaBurger" HorizontalAlignment="Left" Height="30" Margin="200,225,0,0" VerticalAlignment="Top" Width="91" Foreground="#FF080606"/>
        <CheckBox Content="Kip" Name="Kip" HorizontalAlignment="Left" Height="30" Margin="300,225,0,0" VerticalAlignment="Top" Width="80" Foreground="#FF080606"/>
        <CheckBox Content="Biefstuk" Name="Biefstuk" HorizontalAlignment="Left" Height="30" Margin="400,225,0,0" VerticalAlignment="Top" Width="80" Foreground="#FF080606"/>
        <CheckBox Content="Friet" Name="Friet" HorizontalAlignment="Left" Height="30" Margin="100,345,0,0" VerticalAlignment="Top" Width="80" Foreground="#FF080606"/>
        <CheckBox Content="Donut" Name="Donut" HorizontalAlignment="Left" Height="30" Margin="200,345,0,0" VerticalAlignment="Top" Width="80" Foreground="#FF080606"/>
        <CheckBox Content="Brocolli" Name="Brocolli" HorizontalAlignment="Left" Height="30" Margin="300,345,0,0" VerticalAlignment="Top" Width="80" Foreground="#FF080606"/>
        <CheckBox Content="Salade" Name="Salade" HorizontalAlignment="Left" Height="30" Margin="400,347,0,0" VerticalAlignment="Top" Width="80" Foreground="#FF080606"/>



Aucun commentaire:

Enregistrer un commentaire