Results 1 to 2 of 2

Thread: Is using a DataGrid the best way?

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2009
    Posts
    39

    Exclamation Is using a DataGrid the best way?

    Hi,
    I've got an application that I'm re-writing in WPF (was in WinForms) and I've hit a bit of a problem.

    I have a form where i want the user to be able to enter contact details.
    There are 3 fields, contact type (phone, mobile, email etc), contact details (the actualy number) and a notes field.

    Once everything has been entered, the user clicks a button to save all of the contact info along with all of the other collected data.

    Am I best using a datagrid that the user can directly enter the data into?
    or should i be using a different/better method?

    And if I'm to be using the grid, then how the hell do i do it?
    Its easy in winforms but i cant seem to get my head around it in WPF.

    I have created 3 columns and made one a ComboBoxColumn but i cant get it to display anything at all.

    Please help!!

    Thanks

  2. #2
    Frenzied Member Lightning's Avatar
    Join Date
    Oct 2002
    Location
    Eygelshoven
    Posts
    1,611

    Re: Is using a DataGrid the best way?

    Read an article or two about MVVM, that helps understanding how you can do this best.
    VB6 & C# (WCF LINQ) mostly


    If you need help with a WPF/WCF question post in the NEW WPF & WCF forum and we will try help the best we can

    My site

    My blog, couding troubles and solutions

    Free online tools

Tags for this Thread

Posting Permissions

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



Click Here to Expand Forum to Full Width