Using a Stored Procedure

  • Thread starter Thread starter Darryn Ross
  • Start date Start date
D

Darryn Ross

Hi,

How do you populate a Datagrid with information from a query setup in an
access database?

Regards

Darryn
 
Set the commandType property of your OleDbCommand to
CommandType.StoredProcedure. If you have any paramaters, make sure you add
them in the order which they will be used using
CommandName.Paramaters.Add("?", value) or one of the other overloads.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top