Click here to Skip to main content
15,900,378 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionHow to detect a particular version of driver is installed on the PC when device is not connected. Pin
temp555626-Jan-10 12:31
temp555626-Jan-10 12:31 
QuestionRegQueryValueEx and REG_MULTI_SZ in Interop Pin
Alberto Bar-Noy26-Jan-10 7:42
Alberto Bar-Noy26-Jan-10 7:42 
QuestionAbout ComboBox re-population Pin
Hurricane300026-Jan-10 5:14
Hurricane300026-Jan-10 5:14 
AnswerRe: About ComboBox re-population Pin
Luc Pattyn26-Jan-10 6:18
sitebuilderLuc Pattyn26-Jan-10 6:18 
GeneralRe: About ComboBox re-population Pin
Hurricane300026-Jan-10 8:36
Hurricane300026-Jan-10 8:36 
GeneralRe: About ComboBox re-population Pin
Luc Pattyn26-Jan-10 13:26
sitebuilderLuc Pattyn26-Jan-10 13:26 
QuestionHow to refresh Database Connections Pin
akosidandan26-Jan-10 4:05
akosidandan26-Jan-10 4:05 
AnswerRe: How to refresh Database Connections Pin
Ciumac Sergiu26-Jan-10 6:59
Ciumac Sergiu26-Jan-10 6:59 
All in all, you have Delete, Insert, Update in a class, so you can declare an Event (Modified), and subscribe to it. When it fires, call setRecords sub. In C# it looks as follows:

public event EventHandler<EventArgs> DatabaseDataModified;

protected virtual void OnDatabaseDataModified(EventArgs args)
{
if(DatabaseDataModified != null)
   DatabaseDataModified.Invoke(this, args);
}

Call OnDatabaseDataModified method everytime a record is updated in the database.
Subscribe to DatabaseDataModified event and call setRecords sub, once the event handler fires. For a more detailed review check publish/subscribe model.
Questionhow to acess Control Reference in Thread Method Pin
shaina223126-Jan-10 2:58
shaina223126-Jan-10 2:58 
AnswerRe: how to acess Control Reference in Thread Method Pin
Jimmanuel26-Jan-10 3:11
Jimmanuel26-Jan-10 3:11 
GeneralRe: how to acess Control Reference in Thread Method Pin
Luc Pattyn26-Jan-10 3:30
sitebuilderLuc Pattyn26-Jan-10 3:30 
GeneralRe: how to acess Control Reference in Thread Method Pin
Jimmanuel26-Jan-10 3:53
Jimmanuel26-Jan-10 3:53 
QuestionSoftware Requirements Tool for .NET Pin
Calla25-Jan-10 21:16
Calla25-Jan-10 21:16 
AnswerRe: Software Requirements Tool for .NET Pin
Not Active26-Jan-10 1:46
mentorNot Active26-Jan-10 1:46 
GeneralRe: Software Requirements Tool for .NET Pin
Calla26-Jan-10 3:28
Calla26-Jan-10 3:28 
Questionwindows application Pin
mylogics25-Jan-10 20:40
professionalmylogics25-Jan-10 20:40 
AnswerRe: windows application Pin
Abhinav S25-Jan-10 20:58
Abhinav S25-Jan-10 20:58 
AnswerRe: windows application Pin
Mark Salsbery26-Jan-10 5:52
Mark Salsbery26-Jan-10 5:52 
Questiondisplay 60 questions with options Pin
Lakshmithangaraj24-Jan-10 23:13
Lakshmithangaraj24-Jan-10 23:13 
AnswerRe: display 60 questions with options Pin
Pete O'Hanlon24-Jan-10 23:18
mvePete O'Hanlon24-Jan-10 23:18 
AnswerRe: display 60 questions with options Pin
DeepakMega25-Jan-10 0:22
DeepakMega25-Jan-10 0:22 
Questionsample online quiz application Pin
Lakshmithangaraj24-Jan-10 23:08
Lakshmithangaraj24-Jan-10 23:08 
AnswerRe: sample online quiz application Pin
Ashfield27-Jan-10 2:57
Ashfield27-Jan-10 2:57 
Questionaccessing file contents from another system through streamreader-possible? plz help me, its urgent... Pin
thivya n24-Jan-10 22:07
thivya n24-Jan-10 22:07 
AnswerRe: accessing file contents from another system through streamreader-possible? plz help me, its urgent... Pin
Richard MacCutchan24-Jan-10 22:13
mveRichard MacCutchan24-Jan-10 22:13 

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.