TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Vandana Sardana
NA
54
0
Change paasword form
Sep 8 2009 8:30 AM
i am developing a windows application. for which i have to make a change password form. i am using MS-access as my database. my table name is tbluserlogin and the fields are: userId, userRole, userStatus, userPwd, userConpwd. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace Project { public partial class frmchangepassword : Form { public frmchangepassword() { InitializeComponent(); } int userId; string userName; int userStatus; string userRole; string userPwd; string userConPwd; public void clearfields() { txtnewpwd.Text = ""; txtoldpwd.Text = ""; txtconfirmpwd.Text = ""; txtoldpwd.Focus(); } private void frmchangepassword_Load(object sender, EventArgs e) { GetValue(); } private void GetValue() { ConnectionClass l_ConnectionClass = new ConnectionClass(); DataSet l_changepwd = l_ConnectionClass.FetchDataInDataSet("select * from tbluserlogin where userName = '" + txtusername.Text.ToLower().Trim() + "' and userPwd = '" + txtpwd.Text.Trim() + "'"); } private void btnupdate_Click(object sender, EventArgs e) { } } } please help me out with this.
Reply
Answers (
1
)
How to make a Form Wizard?
login form user status problem