Sample code request (C#)

From: Tony (none_at_none.com)
Date: 03/21/04


Date: Sun, 21 Mar 2004 03:43:31 GMT

Would anyone be able to help me with the most bare-boned as possible
code to connect to an oracle database and do a sql query and load the
data into a an array?

I have Oracle 9i client installed and expect it to be installed on any
machine running the app. (Along with win2k or XP Pro)

Trying to self-learn C# and an example of the above would help me
re-write a VB6 app I did in the past to C# as a learning tool :)

Thanks for any assistance. :)

Tony!



Relevant Pages

  • DB Sample Code Request
    ... code to connect to an oracle database and do a sql query and load the ... re-write a VB6 app I did in the past to C# as a learning tool:) ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Stop SQL execution by disconnecting Database Connection ???
    ... I have a ASP/C# application that connect to Oracle database. ... issuing my SQL query if I close the browser or move into another page (ie ... execution (by disconnecting the present database connection ???). ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: SQL*Loader and Stream Record Format
    ... Oracle Database 10g Express Edition Beta 2 Release for Microsoft ... Windows. ... My table was created and loaded using the load text data ...
    (comp.databases.oracle.tools)
  • Re: Query with contents of text file.
    ... You can use SQL*Loader to load the contents of the text file into the Oracle database. ... you can issue your query against that table. ... You do not allocate space for the file's contents inside the database like you would if you loaded the file's contents with SQL*Loader. ...
    (comp.databases.oracle.misc)
  • ORA-00920 error on simple sql query !
    ... I want to run the following sql query on an Oracle database: ... angebot, auftrag, bestell_betrag, ...
    (comp.databases.oracle.server)