Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa WebSevices login page code in asp.net

Have Programming Question? Ask it here!
 
 
 


shruthi vangapally
login page code in asp.net
1 Answer(s)      2 years and 3 months ago
Posted in : WebSevices


i need front end and backend code for login page in vb asp.net using sql server....having code for submit button in it.


Advertisement
View Answers

May 30, 2012 at 3:12 PM


The given code accept username and password from the user and check whether the entered username and password is valid.

Private Sub txtpwd_KeyPress(KeyAscii As Integer)
If KeyAscii = vbEnter Then
If Len(Trim(txtlogin)) > 0 And Len(Trim(txtpwd)) > 0 Then
If CheckPwd(txtlogin, txtpwd) = "ok" Then
MsgBox "Password ok"
Else
MsgBox "Wrong password or Login not found."
End If
Else
MsgBox "Login and password should not be blank"
End If
End If
End Sub
Private Function CheckPwd(cLogin As String, cPwd As String)

Dim rs As Recordset, ret As String
Set rs = opendatabase("c:\temp\login.mdb").openrecordset("select * from tbllogin where ucase(trim(logname)) = '" & UCase(Trim(cLogin)) & "'")
If rs.RecordCount <> 0 Then
If UCase(Trim(rs("pword"))) = UCase(Trim(cPwd)) Then
ret = "ok"
Else
ret = "wrong"
End If
Else
ret = "wrong"
End If
rs.Close: CheckPwd = ret
End Function


Related Tutorials/Questions & Answers:
login page code in asp.net
login page code in asp.net  i need front end and backend code for login page in vb asp.net using sql server....having code for submit button
need code for login in asp.net with c#
need code for login in asp.net with c#  hai iam trying to develop a project in asp.net with c#,so i need a code for login page using which admin and other users can log in.plz help me, thanks in advance
Advertisements
HTML login page code
the complete HTML JavaScript code for User Login Page. Thanks in Advance!   ...HTML login page code  Hi all, I am writing my first HTML JavaScrip...;td colspan=2><font size=3><center><b>HTML Login Page
program code for login page in struts by using eclipse
program code for login page in struts by using eclipse  I want program code for login page in struts by using eclipse
login page
login page  code for login page
HTML Login Page Code
HTML Login Page Code Here is an example of html login page code... JavaScript validation in Login page. We have set username and password value.... HTML Login page with JavaScript Validation <html> <body> <
code for user registration page and login page of emails using jsp
code for user registration page and login page of emails using jsp  hiiiiiii please send me the code for user registration page and login page of email using jsp and servlets and also code for database connectivity to oracle
Login page
Login page  how to create Login page in java
Login Page
Login Page  Can anyone tell me the steps to create a login page in myeclipse 7.0 and validating it with login database in db2 9.7 ??? Please tell me
login page
login page  pls say how to create a login page in jsp and mysql using netbaens   Hi Friend, Please visit the following links: http://roseindia.net/jsf/netbeans/index.shtml http://roseindia.net/jsp/loginbean.shtml
login page
login page  How to login as different user in php
login page
login page  hi i'm trying to create login page using jsp. i get... the program. Following are my programs... 1.index.jsp <%@page contentType="text/html" pageEncoding="UTF-8"%> JSP Page
LOGIN PAGE
LOGIN PAGE  A java program with "login" as title,menus added, and a text field asking for firstname, lastname, and displaying current date and time
Struts Login Validation. In This code setter of login page is called only one time again it doesnt call it. Why..?
Struts Login Validation. In This code setter of login page is called only one... page..."); log.info("Login page loaded successfully."); return...="com.credentek.recon.sms.action.IndexAction" method="login"> <
coding for login page
coding for login page  coding for login page
asp.net
asp.net  My project requrement is when somebuddy fill a web form then all form value will save on database table..& also save that data in excel file......is it any solution of this problem. the code language is asp.net &
login page in php
login page in php  How to create a login page in php
asp.net
asp.net  Create a web page that has the restaurant fields like Name... on the page. When you enter information in the restaurant fields and click... in asp.net
jsp login page
jsp login page  hi tell me how to create a login page using jsp and servlet and not using bean... please tell how to create a database in sql server... please tell with code
Asp.net
Asp.net  how to show an output of an Asp.net project work on a mobile phone
asp.net
asp.net  which place can use the WCF in most of the ASP.net projects
php login and logout code
php login and logout code  Hi, Can anyone share there code for creating a user login and logout page in PHP?or any useful tutorial that can help to create a login and logout application in PHP.. Thanks in Advance
ASP.NET
ASP.NET  How to autogenerate id in Letters with numbers
swing login code
swing login code  code for the login form
Spring Login Page Error
Spring Login Page Error  Dear Sir/Madam, I used the spring login page code. The index page is working fine. When i try to entry login and password , i am getting the below error: Please help me out in this. Let me know if i
ASP.NET
ASP.NET  How to get multiple values of single textbox separated by commas using C
ASP.NET
ASP.NET  How to get the value of dynamically added rows in a table using html
ASP.NET
ASP.NET  what is the use of web.config file in ASP.NET programing... application. An Asp.net application has one web.config file which keeps the configurations... States, Error Handling, Security configurations in ASP.NET web.Config file
asp.net
asp.net  i am generating excel file through data base, in excel cell text are displaying with green triangle on the corner, how to convert text to number through c sharp coding
SSL for login page
SSL for login page  I am trying to apply ssl cert to login page only. Does anyone know how to do this on a tomcat web server
Login page validation on ipad
Login page validation on ipad  I am using userId & password... by single sign in button and want to switch on to next page. Used two labels again... the code or resorse for the same. Plz its urgent
login page error
login page error  How to configure in to config.xml .iam takin to one login form in that form action="/login" .when iam deployee the project... this request." please suggest me.   if your login page is prepared
JSP LOGIN Page
JSP LOGIN Page  sir....i have two user types usercategory and user and both user have userid and password in two different table and now i am making login page for which i have to retrieve usertype,userid and password from two
login page - Java Beginners
login page  I have one login page in jsp that is login.jsp. Now i have validate user from database by another page validate.jsp. but if the user feeded wrong information then i want to print error massege on the first page
html login page with ajax
html login page with ajax  hi all... i want to create a login page using html and ajax for validation is must. please help me doing that with code...=="yes"){ alert("Welcome User"); }else{ alert("Invalid Login! Please try again
login page with image
login page with image  I am writing program for login page.It consists of a image and the login details... how to write a java program using frames that have the default positions in any of the systems.. thanks   i had
jsp login page
jsp login page  Hi All, can any one tell me how to create Login page using JSP and Beans. A simple log in page. Please reply ASAP. Thanx, am2085   Hello Friend, Please visit the following link: JSP Login Using
ASP.NET Atlas
Ajax Help and Resources       ASP.NET G???£AtlasG???¥ is a package of new Web sdevelopment technologies...-based development platform of ASP.NET 2.0. Read full Description
how to create a login page and registration page?
how to create a login page and registration page?  hellow, pls tell me the code for how we can create a login page and registration page and how we can store the info in database.only in advance java as jsp
login page validation
login page validation  hi could you please send me code for login validations Email validation and password email should be in correct format and valid password in java   import java.awt.*; import javax.swing.
JSP Login Page Question
JSP Login Page Question  hey..i have a login page where different users first registered and then after they can login. my question is how a user can see only his data after login where different users data are stored
code for login fom - Struts
code for login fom  we have a login form with fields USERNAME: PASSWORD: In this admin can login and also narmal uses can log
login page php mysql example
login page php mysql example  How to create a login page for user in PHP Mysql? Please provide me a complete tutorial. Thanks in Advance
login page with mysql using jsp
login page with mysql using jsp  pls i need a sample of login page to check username and password in mysql database. thanks
.Net and SQl 2000 Login page
.Net and SQl 2000 Login page  Please help me creating a login page using dot net using data base sql 2000
login for different user in the same page
login for different user in the same page  how can i do the login for different user in the same page throug jsp
Redirect to same jsp page on successful login
Redirect to same jsp page on successful login  Hi, I have an application where on successful login, the redirect should happen to same page... from the database. I am unable to create the session for the same login page
Ajaxium ajax for asp.net
Ajaxium ajax for asp.net       Ajaxium ajax for asp.net is the universal AJAX container for all ASP.NET pages and controls. In contrast to other AJAX-based approaches and huge AJAX
jsf login page - Java Server Faces Questions
jsf login page  how to create a login page and connect to database using abatis tool
how to write a code for oracle database connection in asp.net for validation.
how to write a code for oracle database connection in asp.net for validation.  <script language="javascript" type="text/javascript"> function fill() { //<%@ import Namespace="System.Data" %> //<%@ import
 

 

 

DMCA.com