PgSqlDataReader throwing a System.FormatException
Posted: Wed 06 Apr 2011 08:10
serial type, including tables, Fill () is executed.
we are using:
Devart.Data: 5.0.227.0
Devart.Data.PostgreSql: 5.10.126.0
PostgreSQL 8.4
Use the DataSet Wizard, DataSet1 created.
For System.FormatException is inside thrown, Fill() is slow.
We can not avoid the exception coding can improve performance.
we are using:
Devart.Data: 5.0.227.0
Devart.Data.PostgreSql: 5.10.126.0
PostgreSQL 8.4
Code: Select all
CREATE TABLE table1
(
id serial,
PRIMARY KEY (id)
)
Code: Select all
DataSet1 ds = new DataSet1();
try
{
ds.table1.Fill();
}
catch (Exception ex)
{
System.Diagnostics.Debug.WriteLine(ex.Message);
}
We can not avoid the exception coding can improve performance.