Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Here is the link to this articles WPF DataGrid Practical Examples
Ran the code with Visual Studio 2012 after installing the WPF Toolkit from add refrences. It compiles, and appears to run, but the buttons do not all work correctly.

That buttons that crashes the program are listed
1-Simple CRUD Example
2-Master Details Example
3-Layered Application Example
4-Validation with DataSet
5-Row Header Example


The debugger displays errors similiar to the following that occurs when the "Simple CRUD Example" is pressed:

Quote:
Exception of type 'XamlParseExceptionOccured' occurred in XAML file.
Additional information: Failed object initialization (ISupportInitialize.EndInit). Exception has been thrown by the target of an invocation. Error at object 'CustomerDataProvider' in markup file 'WPFDataGridExamples;component/datasetexamples/datasetcrudexample.xaml' Line 10 Position 58.



The indicated failed line reads
XML
<ObjectDataProvider x:Key="CustomerDataProvider" ObjectType="{x:Type local:CustomerDataProvider}"/>



Can anyone offer any insight or fix?
Posted
Updated 10-Dec-13 22:55pm
v4
Comments
Clifford Nelson 11-Dec-13 19:16pm    
You should post this on the article since the author should be best able to help, and he should also fix his solution files anyway.
Member 8920414 16-Dec-13 0:27am    
it is posted their with no responce

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900