+ Reply to Thread
Results 1 to 10 of 10

Thread: SQL to VB.net

  1. #1
    Forum Newbie
    Using
    AutoCAD 2010
    Join Date
    May 2011
    Posts
    2

    Default SQL to VB.net

    Registered forum members do not see this ad.

    I want to transfer data from Sql Server through VB.Net to Autocad and viceversa.
    I can open a page of Autcad In a Button Click event but cannot bring the data from database,i.e., Sql Server.
    Please send me the code and necessary object models to do the above action.

  2. #2
    Forum Newbie
    Using
    AutoCAD 2010
    Join Date
    May 2011
    Posts
    2

    Default

    I want VB.Net code to retrieve data from Sql server 2005 to Autocad.
    I don't know Autocad or Autolisp.Please help me.

  3. #3
    Super Moderator Tiger's Avatar
    Computer Details
    Tiger's Computer Details
    Operating System:
    Windows 7 Enterprise 64 bit
    Computer:
    Dell Precision M4500
    CPU:
    Intel Core i5 2.40GHz
    RAM:
    8GB
    Graphics:
    NVIDIA Quadro FX 880M
    Primary Storage:
    280 GB
    Monitor:
    2 x Samsung SyncMaster 2443 24''
    Using
    AutoCAD 2012
    Join Date
    Nov 2006
    Location
    Sthlm, Sweden
    Posts
    4,595

    Default

    I have moved your posts to its own thread, please start a new thread for each new question.
    Life doesn't suck, although we all go through periods when it may be easier to think that, than to discern the solution to whatever problem is the most formidable
    at the moment in one's personal UCS.
    Go to PLAN view instead. - Dadgad

  4. #4
    Forum Deity BlackBox's Avatar
    Using
    Civil 3D 2011
    Join Date
    Nov 2009
    Posts
    3,945

    Default

    Quote Originally Posted by BChoudhury View Post
    I want to transfer data from Sql Server through VB.Net to Autocad and viceversa.
    I can open a page of Autcad In a Button Click event but cannot bring the data from database,i.e., Sql Server.
    Please send me the code and necessary object models to do the above action.
    Quote Originally Posted by BChoudhury View Post
    I want VB.Net code to retrieve data from Sql server 2005 to Autocad.
    I don't know Autocad or Autolisp.Please help me.
    Tiger,

    Perhaps this thread would better sit stagnant in the .NET, ObjectARX & VBA forum?
    Last edited by BlackBox; 3rd May 2011 at 02:00 pm.
    "Potential has a shelf life." - Margaret Atwood

  5. #5
    Super Moderator Tiger's Avatar
    Computer Details
    Tiger's Computer Details
    Operating System:
    Windows 7 Enterprise 64 bit
    Computer:
    Dell Precision M4500
    CPU:
    Intel Core i5 2.40GHz
    RAM:
    8GB
    Graphics:
    NVIDIA Quadro FX 880M
    Primary Storage:
    280 GB
    Monitor:
    2 x Samsung SyncMaster 2443 24''
    Using
    AutoCAD 2012
    Join Date
    Nov 2006
    Location
    Sthlm, Sweden
    Posts
    4,595

    Default

    Quote Originally Posted by RenderMan View Post
    Tiger,

    Perhaps this thread would better sit stagnant in the .NET, ObjectARX & VBA forum?
    done
    Life doesn't suck, although we all go through periods when it may be easier to think that, than to discern the solution to whatever problem is the most formidable
    at the moment in one's personal UCS.
    Go to PLAN view instead. - Dadgad

  6. #6
    Super Member fixo's Avatar
    Computer Details
    fixo's Computer Details
    Operating System:
    Windows 7
    Motherboard:
    E7500
    CPU:
    Intel(R)Core(TM)2 DUO CPU 2.93HGz
    RAM:
    4098 Gb
    Graphics:
    1024 Gb
    Using
    AutoCAD 2009
    Join Date
    Jul 2005
    Location
    Pietari, Venäjä
    Posts
    1,587

    Default

    Take look at this VB.Net Sql basic article
    http://www.dreamincode.net/forums/to...sics-in-vbnet/
    The soul is healed by being with children. - Fyodor Dostoyevsky, novelist (1821-1881)

  7. #7
    Forum Deity BlackBox's Avatar
    Using
    Civil 3D 2011
    Join Date
    Nov 2009
    Posts
    3,945

    Default

    Quote Originally Posted by fixo View Post
    Take look at this VB.Net Sql basic article
    http://www.dreamincode.net/forums/to...sics-in-vbnet/
    What a fantastic site! The free programming reference sheets alone, are awsome.

    Thanks, Fixo - Cheers!
    "Potential has a shelf life." - Margaret Atwood

  8. #8
    Super Member fixo's Avatar
    Computer Details
    fixo's Computer Details
    Operating System:
    Windows 7
    Motherboard:
    E7500
    CPU:
    Intel(R)Core(TM)2 DUO CPU 2.93HGz
    RAM:
    4098 Gb
    Graphics:
    1024 Gb
    Using
    AutoCAD 2009
    Join Date
    Jul 2005
    Location
    Pietari, Venäjä
    Posts
    1,587

    Default

    Agreed this is the best of all
    I like it too
    Cheers,
    Thanks for the beer

    Oleg
    The soul is healed by being with children. - Fyodor Dostoyevsky, novelist (1821-1881)

  9. #9
    Forum Deity BlackBox's Avatar
    Using
    Civil 3D 2011
    Join Date
    Nov 2009
    Posts
    3,945

    Default

    Quote Originally Posted by fixo View Post
    Thanks for the beer
    I've learned much from reading your posts; if you're ever on my side of the pond, pints/yards/steins of beer are my treat!
    "Potential has a shelf life." - Margaret Atwood

  10. #10
    Forum Newbie
    Using
    Revit 2002
    Join Date
    Jul 2012
    Posts
    1

    Default

    Registered forum members do not see this ad.

    check this article too, its a good tutorial about vb.net data providers

    http://vb.net-informations.com/ado.n...s-tutorial.htm

    sarc.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts