[Oledb-dev] Provider question
Konstantin Izmailov
kizmailov at gmail.com
Mon Apr 10 08:08:07 GMT 2006
Gents,
I tried to reproduce issue initially reported by *Mauro Morana* on *Tue Feb
7 18:28:13:*
*So i Have mi first problem with oledb (i Use vb.net application)
I have made a connection correctly (I see with a dubug) but when I use
the dataadapter and fill the dataset I receive
E_NOITERFACE error
Can anybody help me?
*
I chose C# and wrote the following:
OleDbConnection conn = new
OleDbConnection("Provider=PostgreSQL.1;Password=blah;User
ID=dba;Data Source=host;Location=evaldb");
conn.Open();
OleDbDataAdapter adapter = new OleDbDataAdapter("select * from mytable",
conn);
DataTable table = new DataTable();
adapter.Fill(table);
MessageBox.Show("Row count = " + table.Rows.Count.ToString());
The code worked from the first time (?!). Does this mean that a bug was
fixed or Mr. Morana had a bug in his VB.Net code?
Let me know asap if there any way to repro issue(s) from VB.Net or C#.
Regards
Konstantin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://pgfoundry.org/pipermail/oledb-devel/attachments/20060410/58aef14d/attachment.html
More information about the Oledb-devel
mailing list