How to pass a OleDbDataColumn as a parameter?

  • Thread starter Jon S via DotNetMonster.com
  • Start date
J

Jon S via DotNetMonster.com

Hi all,

I would like to pass an OleDbDataColumn as a parameter. The idea is I would
need to check two column values in that particular record and then manipulate
them. Is this the correct practice in sending across the OleDbColumn or
should I get the two values that I need and then send just the two values
across? Currently I have the following but for some reason its not liking me
sending across the OleDbDataColumn :

//Calling statement.
drCopyAcross[dcSource.ColumnName] = UseHelpers.getNewOrder( dcSource );

//Actual method.
public long getNewOrder(OleDbDataColumn dc)
{
//Do my manipulating.
}

Thank you.
 

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

Top