Edit Database Table Values via WPF Datagrid - Visual Basic RRS feed

  • Question

  • 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...

    Friday, November 29, 2019 5:19 PM


All replies