Click here to Skip to main content
15,909,193 members
Home / Discussions / C#
   

C#

 
AnswerRe: Best way to Sync data Pin
Afzaal Ahmad Zeeshan3-Apr-15 16:13
professionalAfzaal Ahmad Zeeshan3-Apr-15 16:13 
If you want the best way to do this, then make sure your data is bound (Use binding[^]) and the Mode for binding is set to TwoWay, also that you're application is capturing every key stroke event and is updating the source by the target data (input). And once user has finished the work, commit the changes back to the database (this would ensure less latency delays).

Then you will be able to ensure (hopefully) that the data is synchronized among your Win Forms application and you MySQL database.

If you do not use data binding, then chances are that you're going handle events, create another background object to hold the data, then inside that class use other interfaces to commit data changes to database and so on. So, better is to use bindings.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~

Questioncomparing the columns of two tables Pin
Member 107105323-Apr-15 2:49
Member 107105323-Apr-15 2:49 
AnswerRe: comparing the columns of two tables Pin
Peter Leow3-Apr-15 3:01
professionalPeter Leow3-Apr-15 3:01 
GeneralRe: comparing the columns of two tables Pin
Member 107105323-Apr-15 3:22
Member 107105323-Apr-15 3:22 
Questionerror ExecuteReader() Pin
Member 107105323-Apr-15 1:03
Member 107105323-Apr-15 1:03 
AnswerRe: error ExecuteReader() Pin
Eddy Vluggen3-Apr-15 1:11
professionalEddy Vluggen3-Apr-15 1:11 
GeneralRe: error ExecuteReader() Pin
Member 107105323-Apr-15 1:57
Member 107105323-Apr-15 1:57 
AnswerRe: error ExecuteReader() Pin
Sascha Lefèvre3-Apr-15 1:19
professionalSascha Lefèvre3-Apr-15 1:19 
GeneralRe: error ExecuteReader() Pin
Member 107105323-Apr-15 2:03
Member 107105323-Apr-15 2:03 
AnswerRe: error ExecuteReader() Pin
F-ES Sitecore3-Apr-15 1:45
professionalF-ES Sitecore3-Apr-15 1:45 
GeneralRe: error ExecuteReader() Pin
Sascha Lefèvre3-Apr-15 1:49
professionalSascha Lefèvre3-Apr-15 1:49 
GeneralRe: error ExecuteReader() Pin
Member 107105323-Apr-15 2:00
Member 107105323-Apr-15 2:00 
SuggestionRe: error ExecuteReader() Pin
Richard Deeming7-Apr-15 2:37
mveRichard Deeming7-Apr-15 2:37 
QuestionMerge with uEye cam capture program c# with c# socket programming (Server Only) Pin
Member 115345522-Apr-15 22:35
Member 115345522-Apr-15 22:35 
AnswerRe: Merge with uEye cam capture program c# with c# socket programming (Server Only) Pin
OriginalGriff2-Apr-15 22:41
mveOriginalGriff2-Apr-15 22:41 
GeneralRe: Merge with uEye cam capture program c# with c# socket programming (Server Only) Pin
Member 115345522-Apr-15 23:20
Member 115345522-Apr-15 23:20 
GeneralRe: Merge with uEye cam capture program c# with c# socket programming (Server Only) Pin
OriginalGriff2-Apr-15 23:23
mveOriginalGriff2-Apr-15 23:23 
QuestionRe: Merge with uEye cam capture program c# with c# socket programming (Server Only) Pin
Eddy Vluggen3-Apr-15 1:13
professionalEddy Vluggen3-Apr-15 1:13 
QuestionI have a cool program if anyone would like to take it on. Pin
Dr Gadgit2-Apr-15 11:02
Dr Gadgit2-Apr-15 11:02 
AnswerRe: I have a cool program if anyone would like to take it on. Pin
OriginalGriff2-Apr-15 21:37
mveOriginalGriff2-Apr-15 21:37 
AnswerRe: I have a cool program if anyone would like to take it on. Pin
Eddy Vluggen4-Apr-15 2:34
professionalEddy Vluggen4-Apr-15 2:34 
QuestionMySQL Data Synchronisation between Databases in C# Pin
RevathySanthanam2-Apr-15 4:14
RevathySanthanam2-Apr-15 4:14 
Rant[REPOST] MySQL Data Synchronisation between Databases in C# Pin
Richard Deeming2-Apr-15 4:42
mveRichard Deeming2-Apr-15 4:42 
QuestionTime out handling in System.Threading.Task class in dotnet 4.0 Pin
Member 113878772-Apr-15 0:11
Member 113878772-Apr-15 0:11 
AnswerRe: Time out handling in System.Threading.Task class in dotnet 4.0 Pin
Pete O'Hanlon2-Apr-15 0:47
mvePete O'Hanlon2-Apr-15 0:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.