Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. how do i bring backend to front end

how do i bring backend to front end

Scheduled Pinned Locked Moved Visual Basic
databasequestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    praveed
    wrote on last edited by
    #1

    how do i make the backend database in sqlserver2000 appear on the frontend visual basic form plz show me the connection code thank u

    N U 2 Replies Last reply
    0
    • P praveed

      how do i make the backend database in sqlserver2000 appear on the frontend visual basic form plz show me the connection code thank u

      N Offline
      N Offline
      Nick Seng
      wrote on last edited by
      #2

      The simplest way would be to add an Adodc Control from your toolbox to your form, and build the ConnectionString using the wizard.


      "if you vote me down, I shall become more powerful than you can possibly imagine" - Michael P. Butler. Support Bone It's a weird Life

      1 Reply Last reply
      0
      • P praveed

        how do i make the backend database in sqlserver2000 appear on the frontend visual basic form plz show me the connection code thank u

        U Offline
        U Offline
        User 765502
        wrote on last edited by
        #3

        In order to retrevie data from backend SQL server.... You need to follow this step 1)first go to Project-References-select "Microsoft ActiveX data objects 2.1 library 2)then declare this value Option Explicit Dim con As New ADODB.Connection Dim Rs As New ADODB.Recordset Dim Com As New ADODB.Command Private Sub Form_Load() con = New ADODB.Connection ConString = "provider=sqloledb;uid=;pwd=;Initial Catalog=;Data Source=" con.open Then you can write code for retreiving data.. make sure that you close connection each time when you open the connection. End Sub

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups