Data Tier Application Development with VB.NET Part 2 - Using parameterized queries Page 4.

by Steve Ochani http://www.steveo.us

 

On the Choose Methods to Generate screen make sure both the Fill and Return methods are checked. You will only use the FillBy method in the tutorial but you may find the other method useful as well.

On the Wizards Results screen click Finish.

You will now notice the additional methods in your tableadapter, both take in a parameter even though it seems like the FillBy method doesn't. The parameter being a string which is the lastname you are searching on.

 

Page 3

Page 5