MSOlhao Posted September 25, 2006 at 11:47 PM Report #52864 Posted September 25, 2006 at 11:47 PM Viva, estou com um problema na utilização de Base de Dados com o VB 2005, sempre que vou executar a aplicação aparece-me este erro.
Asgorath Posted September 26, 2006 at 08:08 AM Report #52879 Posted September 26, 2006 at 08:08 AM Tens uma ligacao aberta a base de dados antes de fazer qualquer operacao. Dim constring As String = "data source=10.1.1.13;initial catalog=Dinefer;persist security info=False;user id=Utilizador;password=ab,cdef123!;workstation id=" & System.Environment.MachineName & ";packet size=32767;application name=SIGDIN" Dim sqlcon As New SqlClient.SqlConnection(constring) sqlcon.Open() Me.ContactosTableAdapter.SelectCommand.Connection = sqlcon Me.ContactosTableAdapter.Fill(Me.ContactosDataSet.Contactos) "The Dark Side Clouds Everthing. Impossible To See The Future Is."My rig: Intel Core 2 Quad Q9450 | abit IP35P | 4G Kingston 800 Mhz | XFX GeForce 9800 GX2 1G ddr3 | 2X WD5000AAJS 500Gb Sata 2 | PSU 600W || Caixa El-Diablo | Creative XMod
MSOlhao Posted September 26, 2006 at 10:19 AM Author Report #52906 Posted September 26, 2006 at 10:19 AM Obrigado pela ajuda. 😛
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now