Results 1 to 4 of 4

Thread: Data Base and Data set

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2010
    Posts
    102

    Thumbs up Data Base and Data set

    Hi Friends

    I know little bit abt the SQL DB and Data set.... well i want to have complete knowledge abt these 2.... well i hav created this below program this morning...
    Code:
    Imports System.Data.SqlClient
    Public Class Form1
        Private cs As New SqlConnection(connectionstring)
        Private ds As New DataSet
        private da as SqlDataAdapter("select * from contacts_tbl",cs) 
    
    
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            cs.Open()
            MsgBox(cs.State.ToString)
            cs.Close()
        End Sub
    
    End Class
    And i understood what it does.... in the same can any one help me out to learn the DB in SQL server and the Dataset in vb.net... Well i m very keen to learn it.... can u ppl show some ways for this.... And another one thing i hav SQL server 2008 and vb.net 2005... If u ppl have some sample programs then plz give me.... or wht ways u know suggest me...

    Regards
    Prity

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Data Base and Data set

    Follow the CodeBank link in my signature and check out my threads on an explanation of ADO.NET Data Containers and also Retrieving And Saving Data In Databases.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jul 2010
    Posts
    102

    Re: Data Base and Data set

    hi
    i am unable to find it....i got u r signature ther i clicked but not getting it... can u paste the link here, please...

    Regards
    Prity
    Quote Originally Posted by jmcilhinney View Post
    Follow the CodeBank link in my signature and check out my threads on an explanation of ADO.NET Data Containers and also Retrieving And Saving Data In Databases.

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Data Base and Data set

    Try a bit harder. There's a link in my signature to a list of all my VB.NET CodeBank submissions. I've told you which ones to look at, so just look down the list until you find those and click the links. If you want to be able to develop software then you'll need to be able to follow a few links in a web page.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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