I've successfully recreated a form very similar to the form in this walkthough: http://msdn.microsoft.com/en-us/library/dd547149%28VS.100%29.aspx. I can successfully click on the next, back, and save buttons - everything functions as expected.
But I need to filter the data dynamically based on a user entered value at run time. Instead of "SELECT [all of my fields] FROM tPeople", I need "SELECT [all of my fields] FROM tPeople WHERE ID = 586". I need to be able to change that 586 dynamically
and have the form populated with the data in that record so the user can edit data. I've tried building that second SQL statement (sSQL) and then change the code to
DsPersonstPersonsTableAdapter = New WpfApplication1.dsPersonsTableAdapters.tPersonsTableAdapter(sSQL)
VS reports that there are too many arguments and is only happy when there are no arguments in the above line.
My dataset only references one table for a SQL CE database. It seems that this should be super simple.