Visualizzazione dei risultati da 1 a 2 su 2

Discussione: DataBase Sql Server

  1. #1

    DataBase Sql Server

    ciao ragazzi volevo sapere come si accede ad un db sql server, scusate la domanda ma ho appena iniziato a studiare Asp.Net purtroppo il libro da cui sto imparando fa solo esempi di collegamento con un db Access.
    La stringa di collegamento per Access è questa:

    Dim Conn As New OleDbConnection ("Provider=Microsoft.Jet.OleDb.4.0;Data Source=c:\miadirectory\database.mdb")

    per sql server?
    ciao

  2. #2
    Utente di HTML.it L'avatar di alexmaz
    Registrato dal
    May 2001
    Messaggi
    972
    http://forum.html.it/forum//showthre...hreadid=208737

    Qui trovi un esempio in C#, ma in VB.Net è la stessa cosa, con i dovuti accorgimenti.
    The individual has always had to struggle to keep from being overwhelmed by the tribe. If you try it, you will be lonely often, and sometimes frightened. But no price is too high to pay for the privilege of owning yourself.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.