I have an access backend and I have been working with parameters for a while with the Insert, Update, Delete, and Append commands. The ones where you use an executenonquery. Now, I want to use a statement similar to this:
Now I can do this with using a variable with my dataadapter and have no problems filling my dataset, but the oledbdataadapter will not accept parameters.
So my question is, how can I use this parameterized query and fill a dataset?
Thanks, Chester
Code:
SELECT * FROM myTable WHERE user = @myUser;"
Now I can do this with using a variable with my dataadapter and have no problems filling my dataset, but the oledbdataadapter will not accept parameters.
So my question is, how can I use this parameterized query and fill a dataset?
Thanks, Chester