Myself subrata i'm new in
vb. i've created a login page using the following code-
Private Sub log_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles log.Click
'######CHECK ADMIN AND USER`S USERNAME OR PASSWORD########
If Me.txtpw.Text = "" Or Me.txtuser.Text = "" Then
MessageBox.Show("PLZ ENTER USERNAME OR PASSWORD")
Else
Dim c As Integer = 0
If con1.State = ConnectionState.Open Then
con1.Close()
End If
con1.Open()
Dim selectcom As New SqlCommand("select * from user_table", con1)
Dim reader As SqlDataReader
reader = selectcom.ExecuteReader()
While reader.Read
(It is notice that I had collect the above code from net)
Now from the above code what does it means for
Con1 & reader