Good Morning,

I am building a database in SQL Server with a gui built in WPF. I am using Visual Basic to write the code behind.

One of my first steps is to build the tables that contain things such as position titles, etc... I would like to build a way for the end user to be able to edit the list of values for these position titles in the gui. To do this I am trying toadd a datagrid to a window in wpf. I then created a connection from the gui to the database. Below are images of the process. When I drag the position titles from the Data Sources to the datagrid I get an error that states that it "Cannotadd the control to the design surface or bind to the control because the type vb_wpf_datagrid_wpf_DataSet cannot be resolved. Please try to build the project or add necessary assembly references." Please see the image below for the exact errorthat I receive.

Can you please help me understand how to do this correctly? Many thanks in advance...

Name:  wpf_create_datasource_01.jpg
Views: 141
Size:  28.7 KBName:  wpf_create_datasource_02.jpg
Views: 105
Size:  26.4 KBName:  wpf_create_datasource_03.jpg
Views: 119
Size:  26.2 KBName:  wpf_databinding_error.jpg
Views: 114
Size:  23.0 KB