Dong Lam Trien

Dong Lam Trien

  • 836
  • 986
  • 147.7k

Relationship DataTable and DataReader ?

Sep 29 2014 10:39 PM
Instead i load DataReader from syntax:

[CODE]
OleDbCommand cmd = new OleDbCommand(sSQL, Connl);
OleDbDataReader dr = cmd.ExecuteReader();
[/CODE]

now I want to put on the list DataTable list DataReader, how I want to find relationships syntax ?:

[CODE]
public void DataReader(DataTable input)
{ input .... ???
  OleDbDataReader dr = cmd.ExecuteReader();
  ...
}
[/CODE]

Answers (1)