Can I bind an oledbreader to a datagrid?

  • Thread starter Thread starter Fred Flintstone
  • Start date Start date
F

Fred Flintstone

Just new to .net, and started using oledb connection to database. After
getting most things working, now want to bind to a datagrid, but have not
been successful as of yet.
Will use alternate db connection with dataset if necessary, but hoping not
to mix connection types in same project, and hoping not to rewrite existing
code using other methonds.

Any assistance appreciated.
 
Hi,

You can only bind a datareader to a web form datagrid.

Ken
--------------------------
Just new to .net, and started using oledb connection to database. After
getting most things working, now want to bind to a datagrid, but have not
been successful as of yet.
Will use alternate db connection with dataset if necessary, but hoping not
to mix connection types in same project, and hoping not to rewrite existing
code using other methonds.

Any assistance appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top