none
Data Source wizard - Sql Server 2008 - VS 2010

    Question

  • Hi, I am using Listbox control in VS 2010. For this, I am trying to my database sql server 2008 but it is not visible in the list.

    Thanks.

    • Moved by Cindy Meister MVPMVP Tuesday, April 26, 2011 4:23 PM not vsto-related (From:Visual Studio Tools for Office)
    Tuesday, April 26, 2011 9:27 AM

Answers

  • Hi,

    has nothing todo with VSTO.

    There are different ways to get data out of a Database.

    However - maybe this would give you a start how to access Data using Linq-to-Sql.

    http://www.youtube.com/watch?v=z9L11qrw9gk

    Greets - Helmut


    Helmut Obertanner [http://www.x4u.de] [http://www.outlooksharp.de]
    • Marked as answer by Neddy Ren Tuesday, May 03, 2011 8:51 AM
    Tuesday, April 26, 2011 2:15 PM

All replies

  • Hi,

    has nothing todo with VSTO.

    There are different ways to get data out of a Database.

    However - maybe this would give you a start how to access Data using Linq-to-Sql.

    http://www.youtube.com/watch?v=z9L11qrw9gk

    Greets - Helmut


    Helmut Obertanner [http://www.x4u.de] [http://www.outlooksharp.de]
    • Marked as answer by Neddy Ren Tuesday, May 03, 2011 8:51 AM
    Tuesday, April 26, 2011 2:15 PM
  • Hi Think differently,

    Welcome to the MSDN Forum.

    I'm not sure how do you connect to the sql server 2008. Maybe you should tell us more detailed information or put your code here! I'm appreciate to help you if I understand your quesitons in detail. I think Helmut Obertanner's suggestion is quite well and you can learn it from the video. I'll mark his answer first and if you have any questions regarding to this issue, please feel free to let me know.

    Best Regards


    Neddy Ren [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.



    Friday, April 29, 2011 8:13 AM