|
-
Apr 5th, 2007, 05:52 AM
#1
Thread Starter
Addicted Member
getting table details using oracle
hi to all,
i am using the following code for getting the table details.But i giving the error "ORA-00900: invalid SQL statement". the code is
oledbcon = new OleDbConnection("Provider=OraOLEDB.Oracle;User Id=" + strusername + ";Password=" + strpassword + "");
oledbcon.Open();
oledbcmd = new OleDbCommand(query,oledbcon);
oledbreader = oledbcmd.ExecuteReader();
while (oledbreader.Read())
{
MessageBox.Show(oledbreader[0].ToString());
}
oledbreader.Close();
oledbcon.Close();
Plz somebody help me to solve the problem.
thank u
with thanks and regards
mmary
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|