Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows Forms
  4. Need help regarding an Application using C# and Postgre Sql

Need help regarding an Application using C# and Postgre Sql

Scheduled Pinned Locked Moved Windows Forms
questioncsharpdatabasehelp
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    arj_agt
    wrote on last edited by
    #1

    Hi Guys, My name is Arijit and I am developing a windows application using C# and Postgre Sql. I need to run a few sql scripts while the application is installed in the user's system. Can anybody tell how can i can do this or at least tell me where I can get help regarding this? Thanks a lot :)

    L 1 Reply Last reply
    0
    • A arj_agt

      Hi Guys, My name is Arijit and I am developing a windows application using C# and Postgre Sql. I need to run a few sql scripts while the application is installed in the user's system. Can anybody tell how can i can do this or at least tell me where I can get help regarding this? Thanks a lot :)

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      There's a good CodeProject[^] article on the subject. Halfway down the page is an example :)

      I are Troll :suss:

      A 1 Reply Last reply
      0
      • L Lost User

        There's a good CodeProject[^] article on the subject. Halfway down the page is an example :)

        I are Troll :suss:

        A Offline
        A Offline
        arj_agt
        wrote on last edited by
        #3

        But that does not answer my question? All the basic concepts are there but my issue is something else.

        L 2 Replies Last reply
        0
        • A arj_agt

          But that does not answer my question? All the basic concepts are there but my issue is something else.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          arj_agt wrote:

          All the basic concepts are there but my issue is something else.

          And you believe that somehow we can guess exactly what it is?

          1 Reply Last reply
          0
          • A arj_agt

            But that does not answer my question? All the basic concepts are there but my issue is something else.

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            arj_agt wrote:

            But that does not answer my question?

            My apologies. I assumed that you wanted some code-snippets on executing SQL scripts against a Postgre database. So I misinterpreted your question, let's simply attempt it again.

            arj_agt wrote:

            All the basic concepts are there but my issue is something else.

            Are you having problems with a specific piece of code (in which case we'd like to see the plaintiff), a specific task (how do you connect, execute etc) or a specific platform (ie, installation problems of Postgre on Suse?) Do you have the correct connectionstrings[^]? Have you downloaded the Postgre dataprovider for .NET[^]?

            arj_agt wrote:

            My name is Arijit and I am developing a windows application using C# and Postgre Sql. I need to run a few sql scripts while the application is installed in the user's system. Can anybody tell how can i can do this or at least tell me where I can get help regarding this?

            You can do it by issuing an command over an IDbConnection. You can get help here off course, and alternatively, you can search MSDN or the documentation of the Framework Libraries[^], and there's the Postgre documentation[^].

            I are now Troll on a Gnome :suss:

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups