hi..
i'm saveing a Type DataTable into an xml file..
how ever if i try to read a DataTable, i'll need a typed DataSet to
read it, but the typed dataSet creates simply adds a regular table and
does use one of the typed ones..
quiest way i could find was:
OracleConn conn=OracleConnectionFactory.GetBprPod();
OracleDataAdapter adap = new OracleDataAdapter("SELECT * FROM
V_BPR_DOCUMENTS where MS_HAVILA=1416775",conn.ConnectionString);
DataTable dt = new DataTable();
adap.Fill(dt);
DsBpr.BprDocumentsDataTable temp = new
DsBpr.BprDocumentsDataTable();
for (int i=0;i<dt.Rows.Count;i++)
{
temp.ImportRow(dt.Rows[i]);
}
for (int j=0;j<temp.Count;j++)
{
Console.WriteLine(temp[j].SHEM_KOVETZ);
}
any faster ways?
|