I am building a WPF application without the MVVM framework but also am not writing direct code in the code behind, I am using classes and objects
And in there is a datagrid with a filed that is a checkbox field, I want to implement it such that it takes seamless with the database When a checkbox is checked it directly store it’s values to the database, but the problem with it is that when u use an event such as ISchecked it has to open a connection read, then insert my change to the database every time it’s checked and this gets very slow, another thing I saw on the Internet is to add a button, that after all the work saves the data when clicked this not only requires a proxy to store in Boolean values like a list but also For 10k records operated between 6 computers wouldn’t this prove an overhead
I want it to store data once the checkbox is checked
Aucun commentaire:
Enregistrer un commentaire