Save selected check box in database (WCF)

Feb 19, 2012 at 6:42 AM
I have a listboxwithCheckboxes, I get the values for this checkboxes from database (Student Table) using WCF. Now I have to read the selected 
checkboxes and its value and update the database with some value for the selected checkbox into Student Table, such as Student Present or Absent etc.
I googled for this and couldn't the answer for this.
 
 <my:ListBoxWithCheckBoxes Name="listBoxWithBoxes" ItemsSource="{Binding Student}" Margin="6,232,12,20" FontSize="30">
                <ListBox.ItemTemplate>
                    <DataTemplate>
                            <StackPanel Name="control">
                                <TextBlock Text="{Binding Path= StudentID}"   TextWrapping="Wrap"  FontSize="30" Foreground="White" FontWeight="SemiBold"></TextBlock>
                                <TextBlock Text="{Binding Path= FirstName}" TextWrapping="Wrap" Margin="12,-6,12,0" FontSize="22" FontWeight="Medium" Foreground="White" />
                                <TextBlock Text="{Binding Path= LastName}" TextWrapping="Wrap" Margin="12,-6,12,0" FontSize="24" Foreground="White" FontWeight="Medium" />                                
                            </StackPanel>
                    </DataTemplate>
                </ListBox.ItemTemplate>
            </my:ListBoxWithCheckBoxes>
Can someone please help me with this?
Thank you for your help.
Ajay