Dim ADP As SqlDataAdapter = New SqlDataAdapter
Dim CONN As SqlConnection = New SqlConnection("Data Source=|DataDirectory|\dbTesting.sdf")
Dim COMM As SqlCommand = New SqlCommand("SELECT * FROM tbTesting")
Dim DS As New DataSet
CONN.Open()
Dim DR As SqlDataReader = COMM.ExecuteReader()
DR = COMM.ExecuteReader()
TextBox0.Text = DR("Test").ToString
This was my coding in order to display the value of a field named'Test'
Is my codings correct? If Yes or No, Why does my program HANG? As in...my system doesnt respond...But somehow Visual studio Functioning well...So I guess the problem is within my program once I executed the button that contains the above codings...
Any help would be appreciated...Thanks...