How to pass a OleDbDataColumn as a parameter?

  • Thread starter Thread starter Jon S via DotNetMonster.com
  • Start date 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.
 
Back
Top