Click here to Skip to main content
15,917,328 members
Home / Discussions / C#
   

C#

 
GeneralRe: Using 'Like' in DataTable select query Pin
kanchoette10-Aug-09 0:12
kanchoette10-Aug-09 0:12 
GeneralRe: Using 'Like' in DataTable select query Pin
rishimuni20-Jan-14 1:23
rishimuni20-Jan-14 1:23 
GeneralRe: Using 'Like' in DataTable select query Pin
Member 1372147419-Jun-18 1:19
Member 1372147419-Jun-18 1:19 
GeneralRe: Using 'Like' in DataTable select query Pin
Jochen Arndt19-Jun-18 3:06
professionalJochen Arndt19-Jun-18 3:06 
AnswerRe: Using 'Like' in DataTable select query Pin
Pete O'Hanlon10-Aug-09 1:52
mvePete O'Hanlon10-Aug-09 1:52 
QuestionProblem while set the window state to maximixed of the form Pin
lnmca9-Aug-09 23:37
lnmca9-Aug-09 23:37 
AnswerRe: Problem while set the window state to maximixed of the form Pin
Luc Pattyn9-Aug-09 23:57
sitebuilderLuc Pattyn9-Aug-09 23:57 
QuestionimageList with treeView Pin
reilak9-Aug-09 22:37
reilak9-Aug-09 22:37 
AnswerRe: imageList with treeView Pin
OriginalGriff9-Aug-09 23:21
mveOriginalGriff9-Aug-09 23:21 
Questiondeployment of window application Pin
Milind Panchal9-Aug-09 22:32
Milind Panchal9-Aug-09 22:32 
AnswerRe: deployment of window application Pin
Vimalsoft(Pty) Ltd9-Aug-09 22:40
professionalVimalsoft(Pty) Ltd9-Aug-09 22:40 
GeneralRe: deployment of window application Pin
Milind Panchal9-Aug-09 22:48
Milind Panchal9-Aug-09 22:48 
GeneralRe: deployment of window application Pin
OriginalGriff9-Aug-09 23:24
mveOriginalGriff9-Aug-09 23:24 
GeneralRe: deployment of window application Pin
Vimalsoft(Pty) Ltd11-Aug-09 23:03
professionalVimalsoft(Pty) Ltd11-Aug-09 23:03 
QuestionC# Desktop Apps Pin
Marc Firth9-Aug-09 22:31
Marc Firth9-Aug-09 22:31 
AnswerRe: C# Desktop Apps Pin
Vimalsoft(Pty) Ltd9-Aug-09 22:42
professionalVimalsoft(Pty) Ltd9-Aug-09 22:42 
AnswerRe: C# Desktop Apps Pin
Pete O'Hanlon9-Aug-09 22:49
mvePete O'Hanlon9-Aug-09 22:49 
Marc Firth wrote:
Which technology do you think is best to use for creating my desktop apps and why? Windows Presentation Foundation? Windows Forms? Other?


That's a tricky question, and not one that's easy to answer. First of all, let's address a misconception - WinForms aren't going to go away anytime soon, so learning them isn't going to be wasted effort. You'll still be able to develop desktop applications in them for a long time to come.

Now, saying that, I'd choose WPF over WinForms for a number of reasons.

1. While WinForms isn't going away, it's not going to be actively improved by MS, so you're stuck with what you get.
2. WPF makes it easier to create data bound applications. Rather than having to write lots of string myValue = txtName.Text; and txtName.Text = dr[dr.GetOrdinal("MyValue")].ToString(); code, you can use two way databinding in WPF to good effect.
3. It's easy to change the look and feel of WPF applications.
4. If you want to move over to Silverlight, it's based on WPF so the transition is a lot easier.
5. Microsoft is actively targetting improving WPF, and is starting to use it in its own applications.
6. The infrastructure underlying WPF is a whole lot more powerful.

"WPF has many lovers. It's a veritable porn star!" - Josh Smith

As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.


My blog | My articles | MoXAML PowerToys | Onyx



GeneralRe: C# Desktop Apps Pin
Marc Firth10-Aug-09 1:34
Marc Firth10-Aug-09 1:34 
GeneralRe: C# Desktop Apps Pin
Pete O'Hanlon10-Aug-09 1:36
mvePete O'Hanlon10-Aug-09 1:36 
GeneralRe: C# Desktop Apps Pin
Marc Firth10-Aug-09 1:47
Marc Firth10-Aug-09 1:47 
AnswerRe: C# Desktop Apps Pin
Nouman Bhatti9-Aug-09 23:16
Nouman Bhatti9-Aug-09 23:16 
AnswerRe: C# Desktop Apps Pin
harold aptroot10-Aug-09 1:20
harold aptroot10-Aug-09 1:20 
GeneralRe: C# Desktop Apps Pin
Marc Firth10-Aug-09 1:24
Marc Firth10-Aug-09 1:24 
GeneralRe: C# Desktop Apps Pin
Pete O'Hanlon10-Aug-09 1:35
mvePete O'Hanlon10-Aug-09 1:35 
GeneralRe: C# Desktop Apps Pin
Marc Firth10-Aug-09 1:39
Marc Firth10-Aug-09 1:39 

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.