Hi,
I have an Xamdatagrid which is binded to a dataset containing results from a stored procedure. The boolean value is automatically showing as checkbox. Now I want to update the value, if user checks checkbox of a row I want to update the sql table and same for unchecking. Can someone please suggest how can I achieve that functionality.
Thanks,
Megha
Hello Megha,
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.
Its not binding it automatically to the datasource so I found a work around and that is working absolutely fine.
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I created a Style for the CellValuePresenter and set its ContentTemplate to a XamChackEditor which IsChecked Property is bound to the value and the Binding’s UpdateSourceTrigger is set to PropertyChanged. Please let me know if the sample helps you or you need further assistance.
Looking forward for your reply.