Windows Services - Connect to database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Golden1
    New Member
    • Sep 2006
    • 1

    Windows Services - Connect to database

    Hi all,

    I need to create a windows service in c# that references a object in another applications (this object has stored procedure,datab ase connectivity etc). Using the windows service i need to connect to a database then query a table and display the info.

    I have no idea on how to do this. Now i have created the windows service and referenced the object, but i have no idea on how to connect to the database via a windows service and display the info.
    Can anyone help me. Please.

    Thanks.
  • karan8985
    New Member
    • Jul 2007
    • 2

    #2
    hi ,,
    first check ur oracle privilages . and give it to full rites. and then check.

    or try to do odp.net connection.

    Comment

    • Floydan
      New Member
      • Aug 2007
      • 24

      #3
      Hi,
      Just a quick question, are we talking about a windows service here or a windows forms applications?


      Originally posted by Golden1
      Hi all,

      I need to create a windows service in c# that references a object in another applications (this object has stored procedure,datab ase connectivity etc). Using the windows service i need to connect to a database then query a table and display the info.

      I have no idea on how to do this. Now i have created the windows service and referenced the object, but i have no idea on how to connect to the database via a windows service and display the info.
      Can anyone help me. Please.

      Thanks.

      Comment

      Working...