Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional Visual Studio 2010
This is the forum to discuss the Wrox book Professional Visual Studio 2010 by Nick Randolph, David Gardner, Chris Anderson, Michael Minutillo; ISBN: 9780470548653
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Visual Studio 2010 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 3rd, 2013, 01:32 PM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Login page code

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




Similar Threads
Thread Thread Starter Forum Replies Last Post
login page starting code leonardpogrady Dreamweaver (all versions) 1 January 29th, 2010 11:18 AM
Login page back to original page pablohoney Classic ASP Basics 1 October 3rd, 2006 07:09 PM
LOGIN PAGE (does not link to the next page) jim.sullivan@telus.net Classic ASP Databases 7 April 5th, 2006 01:28 PM
Newbie Help. Login to unique login page per user Kainan Classic ASP Professional 10 May 3rd, 2005 07:47 AM
ColdFusion MX 7 Login page code--Plz help colorfeifei Dreamweaver (all versions) 0 February 23rd, 2005 11:51 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.