SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    Chopped Liver bronze trophy imaginekitty's Avatar
    Join Date
    Aug 2007
    Location
    Pennsyltucky
    Posts
    1,494
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    WebForms vs. Windows Forms Applications

    Up to now I've only really worked with ASP.NET (both WebForms and MVC) but have never tried my hand at building an application for Windows.

    I've been working at moving one of my Web Forms pages to an executable but things just don't flow as easily. I've got it to work but I'm not sure if "best practices" (or at least the practices I'm used to) translate between the two technologies.

    For example, I'm filling a DataGridView in the app using Linq to Sql which is taking the column header names from the "select new {}" but that doesn't give me control over additional fields I may want to add and if I do they are both tacked into the DataGridView. I'm not familiar with binding without <itemtemplates> and such.

    Can anyone suggest a tutorial or book to get me started?

  2. #2
    SitePoint Mentor NightStalker-DNS's Avatar
    Join Date
    Jul 2004
    Location
    Cape Town, South Africa
    Posts
    2,880
    Mentioned
    48 Post(s)
    Tagged
    0 Thread(s)
    I would suggest leaving winForms and go into WPF rather. Newer and better tech IMHO

  3. #3
    Chopped Liver bronze trophy imaginekitty's Avatar
    Join Date
    Aug 2007
    Location
    Pennsyltucky
    Posts
    1,494
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by NightStalker-DNS View Post
    I would suggest leaving winForms and go into WPF rather. Newer and better tech IMHO
    That's fine. I'm just starting so I'd really like to get on the right path before delving in.

  4. #4
    Chopped Liver bronze trophy imaginekitty's Avatar
    Join Date
    Aug 2007
    Location
    Pennsyltucky
    Posts
    1,494
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Since you told me what to look for I found http://www.wpftutorial.net/

    Hope it's up to date.

  5. #5
    Chopped Liver bronze trophy imaginekitty's Avatar
    Join Date
    Aug 2007
    Location
    Pennsyltucky
    Posts
    1,494
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by NightStalker-DNS View Post
    I would suggest leaving winForms and go into WPF rather. Newer and better tech IMHO
    Is WPF to be preferred over WinForms in every situations or are there times when WinForms makes more sense? I'm not concerned with complex/simple or large project/small project, if WPF does what WinForms can do and is considered it's replacement that's more important to me.

  6. #6
    SitePoint Mentor NightStalker-DNS's Avatar
    Join Date
    Jul 2004
    Location
    Cape Town, South Africa
    Posts
    2,880
    Mentioned
    48 Post(s)
    Tagged
    0 Thread(s)
    Yes, wpf is the new version of win forms and is a lot more advanced and more powerfull. It is the same syntax to silverlight, so you can get 2 techs down at the same time.

  7. #7
    Chopped Liver bronze trophy imaginekitty's Avatar
    Join Date
    Aug 2007
    Location
    Pennsyltucky
    Posts
    1,494
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by NightStalker-DNS View Post
    Yes, wpf is the new version of win forms and is a lot more advanced and more powerfull. It is the same syntax to silverlight, so you can get 2 techs down at the same time.
    Excellent! Thanks.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •