Results 1 to 2 of 2

Thread: Is using a DataGrid the best way?

  1. #1
    Gimbal is offline VB.NET Forum Newbie
    .NET Framework
    .NET 3.5
    Join Date
    Mar 2012
    Posts
    1
    Reputation
    0

    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
    anup12 is offline VB.NET Forum Newbie
    .NET Framework
    .NET 2.0
    Join Date
    Jun 2012
    Posts
    1
    Reputation
    0

    datagrid using

    hi,
    After you get connected to the MS Access database, all records are displayed on the DataGrid.
    When you run the application first time, the method "fnRefresh()" will be called. It clears the contents of theDataSet, fills the DataAdapter, and displays the data from the data source in the DataGrid. After that, all the buttons are ready to be used. Here is the code snippet of the method "fnRefresh()":

Tags for this Thread

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
  •  
Harvest time tracking