Question Is using a DataGrid the best way?

Gimbal

New member
Joined
Mar 13, 2012
Messages
1
Programming Experience
5-10
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
 
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()":
 
Back
Top