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.
 
Back
Top