Ok, I managed to get it working...
vb Code:
mports System.Data.SqlServerCe Public Class Drivers 'Global Variables Dim userName As String Dim password As String Private Sub btnLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogin.Click 'save the entered username into a variable userName = tbUserName.Text 'save the entered password into a variable password = tbPassword.Text Dim jitDatabase As New SqlCeConnection("Data Source = My Documents\JIT.sdf") jitDatabase.Open() End Sub End Class
I've posted another thread about modulating this... Please look at that if you can, thanks to everybody who posted on this one!




Reply With Quote