Edit Database Table Values via WPF Datagrid - Visual Basic

  • Thread starter Thread starter Forgivenbygrace
  • Start date Start date
F

Forgivenbygrace

Guest
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 to add 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 "Cannot add 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 error that I receive.


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

1509731.png


1509732.png



1509733.png



1509734.png

Continue reading...
 
Back
Top