Jump to content
Fórum Script Brasil
  • 0

Problemas Com Oledbadapter


Guest --eli --
 Share

Question

Guest --eli --

ola,

estou com o seguinte problema:

tenho um codigo usando uma conexão oledb, e um oledbadapter, so q quando dou o coando .fill, ele funciona para insert, update e deleta, mas não para select no banco de dados db2

o código é o seguinte:

conexao.open();

dataset ds = new dataset();

oledbdataadapter da = new oledbdataadapter(instrsql, conexao);

da.fill(ds);

conexao.close();

alguém já teve esse problema ou sabe como resolver?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
Guest --eli --

Da a seguinte mensagem:

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Data.OleDb.OleDbException:

'IBMDADB2' failed with no error message available, result code: DB_E_OBJECTOPEN(0x80040E05).

at System.Data.OleDb.OleDbDataReader.ProcessResults(OleDbHResult hr)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Forum Statistics

    • Total Topics
      149.8k
    • Total Posts
      646.6k
×
×
  • Create New...