Microsoft Developer Network > Forums Home > Visual Studio Express Editions Forums > Visual C# Express Edition > How to add DataSource in DataGridView using postgresql?
Ask a questionAsk a question
 

AnswerHow to add DataSource in DataGridView using postgresql?

  • Sunday, November 01, 2009 8:13 PMwapt49 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hallo,

    im using postgresql for my database,
    Is possible to add datasource (postgresql) in my DataGridView using wizard?
    Which data connection should i use to connect to the database?

    Thanks in advance =)

Answers

All Replies

  • Monday, November 02, 2009 8:15 PMRudedog2 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Your question is a bit off-topic.

    It is more about the database than it is C#.

    PostgreSQL : Documentation: Manuals: PostgreSQL 8.0: Tutorial


    Rudedog  =8^D
    Mark the best replies as answers. "Fooling computers since 1971."
  • Tuesday, November 03, 2009 8:06 AMwapt49 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Your question is a bit off-topic.

    It is more about the database than it is C#.

    PostgreSQL : Documentation: Manuals: PostgreSQL 8.0: Tutorial


    Rudedog  =8^D
    Mark the best replies as answers. "Fooling computers since 1971."

    Thanks for the reply

    But i think its more about C#
    because my question is how to add datasource in DataGridView in wizard if im using postgresql as Database..
    Take a look this pic
    http://i100.photobucket.com/albums/m18/wiwiedbulu/Untitled.png

    if im using sql server as my database, i may choose Microsoft SQL Server as my DataSource,
    if im using oracle as my database, i may choose Oracle Database as my DataSource..

    The question is..
    Which datasource should i choose if im using postgresql?
  • Tuesday, November 03, 2009 3:18 PMRudedog2 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Your question is more about that database, not C#.

    Which datasource should you choose to use with that database?  I dunno.
    Ask the people who created the database in the first place.

    They should be able to tell you whether it can work with Visual Studio or not.
    They should be able to tell you which database driver to use, connection strings, etc.
    It is their responsibility to make it work with Visual Studio, if they so choose to do so.  Not the other way around.
    Microsoft has SQL.  They have zero interest in writing a database driver for someone else's product.

    So you see......your question really is more about that database, not C#.


    Mark the best replies as answers. "Fooling computers since 1971."