Click here to Skip to main content
15,904,415 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to add row headers to DataGridView? Pin
OriginalGriff10-Jun-21 0:24
mveOriginalGriff10-Jun-21 0:24 
QuestionHow can i read a xml file with Linq? c# Pin
bart10008-Jun-21 9:07
bart10008-Jun-21 9:07 
AnswerRe: How can i read a xml file with Linq? c# Pin
Gerry Schmitz8-Jun-21 19:43
mveGerry Schmitz8-Jun-21 19:43 
AnswerRe: How can i read a xml file with Linq? c# Pin
Richard Deeming8-Jun-21 21:29
mveRichard Deeming8-Jun-21 21:29 
PraiseRe: How can i read a xml file with Linq? c# Pin
bart10009-Jun-21 4:12
bart10009-Jun-21 4:12 
QuestionIs there any SQL Server on the cloud for free? Pin
Alex Dunlop8-Jun-21 8:15
Alex Dunlop8-Jun-21 8:15 
AnswerRe: Is there any SQL Server on the cloud for free? Pin
OriginalGriff8-Jun-21 10:45
mveOriginalGriff8-Jun-21 10:45 
GeneralRe: Is there any SQL Server on the cloud for free? Pin
Alex Dunlop9-Jun-21 4:16
Alex Dunlop9-Jun-21 4:16 
GeneralRe: Is there any SQL Server on the cloud for free? Pin
OriginalGriff9-Jun-21 4:26
mveOriginalGriff9-Jun-21 4:26 
QuestionHow to dynamically escape a character? Pin
Joseline Riker7-Jun-21 13:25
Joseline Riker7-Jun-21 13:25 
AnswerRe: How to dynamically escape a character? Pin
Dave Kreskowiak7-Jun-21 15:06
mveDave Kreskowiak7-Jun-21 15:06 
AnswerRe: How to dynamically escape a character? Pin
OriginalGriff7-Jun-21 19:50
mveOriginalGriff7-Jun-21 19:50 
AnswerRe: How to dynamically escape a character? Pin
Richard MacCutchan7-Jun-21 21:14
mveRichard MacCutchan7-Jun-21 21:14 
AnswerRe: How to dynamically escape a character? Pin
Eddy Vluggen9-Jun-21 9:49
professionalEddy Vluggen9-Jun-21 9:49 
QuestionINotifyPropertyChanged/Changing: more useful in WPF compared to WinForms ? Pin
BillWoodruff7-Jun-21 11:35
professionalBillWoodruff7-Jun-21 11:35 
AnswerRe: INotifyPropertyChanged/Changing: more useful in WPF compared to WinForms ? Pin
Eddy Vluggen8-Jun-21 4:21
professionalEddy Vluggen8-Jun-21 4:21 
GeneralRe: INotifyPropertyChanged/Changing: more useful in WPF compared to WinForms ? Pin
BillWoodruff8-Jun-21 10:48
professionalBillWoodruff8-Jun-21 10:48 
GeneralRe: INotifyPropertyChanged/Changing: more useful in WPF compared to WinForms ? Pin
Eddy Vluggen9-Jun-21 6:19
professionalEddy Vluggen9-Jun-21 6:19 
AnswerRe: INotifyPropertyChanged/Changing: more useful in WPF compared to WinForms ? Pin
Gary R. Wheeler13-Jun-21 8:26
Gary R. Wheeler13-Jun-21 8:26 
I'll add to Eddy's information, except as applies to WPF.

This is probably the simplest view, but I use INotifyPropertyChanged for program properties that are bound to screen controls. When the program is changing the value rather than the user it lets you update the value whenever you like, and the screen updates naturally. The benefit of doing things this way is that the relationship between the property and the control is defined by the binding, so that it works the same everywhere. You don't have to worry about changing update code wherever you change the value.

I'll admit I don't particularly like the binding mechanism. It's complex and expressing bindings directly in XAML can be an exercise in frustration. I set most of my bindings in the C# code-behind because the XAML syntax is so awkward.
Software Zen: delete this;

GeneralRe: INotifyPropertyChanged/Changing: more useful in WPF compared to WinForms ? Pin
BillWoodruff14-Jun-21 4:53
professionalBillWoodruff14-Jun-21 4:53 
GeneralRe: INotifyPropertyChanged/Changing: more useful in WPF compared to WinForms ? Pin
Gary R. Wheeler14-Jun-21 5:05
Gary R. Wheeler14-Jun-21 5:05 
QuestionUpdated an application that uses DDE. Specific requirements. Pin
ptmaker7-Jun-21 10:52
ptmaker7-Jun-21 10:52 
AnswerRe: Updated an application that uses DDE. Specific requirements. Pin
Mycroft Holmes7-Jun-21 12:10
professionalMycroft Holmes7-Jun-21 12:10 
GeneralRe: Updated an application that uses DDE. Specific requirements. Pin
ptmaker8-Jun-21 3:19
ptmaker8-Jun-21 3:19 
QuestionRe: Updated an application that uses DDE. Specific requirements. Pin
Eddy Vluggen9-Jun-21 6:24
professionalEddy Vluggen9-Jun-21 6:24 

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.