Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
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
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
login page starting code leonardpogrady Dreamweaver (all versions) 1 January 29th, 2010 10: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 10:51 PM



All times are GMT -4. The time now is 12:57 AM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.