Results 1 to 4 of 4

Thread: Examples for ADO.net

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2003
    Posts
    436

    Examples for ADO.net

    New to vb.net and I am currently reading a book on ado.net.

    Most of the examples in that book are using sqladaptor controls in the design time. Are there any examples where I can write code instead of dropping the .net database controls during design time..

    IF any one know any good tutorials with code samples...
    Pls post the link

    thank you
    nath

  2. #2
    Banned
    Join Date
    Jul 2003
    Location
    New delhi
    Posts
    143
    GO THROUGH THE MICROSOFT EXAPMLE CODE .

    DAS

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2003
    Posts
    436

    is there sample ado.net code that can be downloaded from microsoft site?

    pls forward the link if you have.

    thank you

  4. #4
    Frenzied Member
    Join Date
    May 2002
    Posts
    1,602
    There is no magic involved when you drag and drop a control to a form. The code looks almost identical to the one you write when you add controls "manually", you only have to look for it, it is located in a sub called

    Private Sub InitializeComponent()

    there you will find all adapter, connection, command code the IDE generates for you....


    kind regards
    Henrik

Posting Permissions

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



Click Here to Expand Forum to Full Width