Click here to Skip to main content
15,911,531 members
Home / Discussions / C#
   

C#

 
GeneralRe: Converting to Word Pin
Guinness4Strength25-Mar-05 3:42
Guinness4Strength25-Mar-05 3:42 
Generalvirus over network layer Pin
computer_eng22-Mar-05 22:31
computer_eng22-Mar-05 22:31 
GeneralRe: virus over network layer Pin
leppie22-Mar-05 23:22
leppie22-Mar-05 23:22 
GeneralRe: virus over network layer Pin
Giles23-Mar-05 8:49
Giles23-Mar-05 8:49 
GeneralRe: virus over network layer Pin
leppie23-Mar-05 11:17
leppie23-Mar-05 11:17 
GeneralSecurity of code in view of disassembler Pin
Rama Sharma22-Mar-05 20:56
Rama Sharma22-Mar-05 20:56 
GeneralRe: Security of code in view of disassembler Pin
leppie22-Mar-05 22:42
leppie22-Mar-05 22:42 
Questionhow to check password and user name Pin
Aleyna22-Mar-05 20:38
Aleyna22-Mar-05 20:38 
Hi Im currently creating a login form and i want to check if the input user name and password matches the data in the database. I have created a table called Users in my database, that contains two columns user name and password. I have declared my sql command text to the sql string and filled my dataset. I then created if else statement such as:
if(username_txt.Text == loginDS1.login.UserNameColumn.ToString() && password_txt.Text == loginDS1.login.PasswordColumn.ToString()
{
main_frm main_frm = new main_frm();
main_frm.Show();
}
else
MessageBox.Show("Incorrect username and password!");

Im a new starter and i really dont know the correct technics however i really need want to learn..... Help!!!Cry | :((

Wink | ;)
AnswerRe: how to check password and user name Pin
Jeff Martin23-Mar-05 3:47
Jeff Martin23-Mar-05 3:47 
QuestionHow to read system time? Pin
Kiran Satish22-Mar-05 20:28
Kiran Satish22-Mar-05 20:28 
AnswerRe: How to read system time? Pin
Colin Angus Mackay22-Mar-05 20:29
Colin Angus Mackay22-Mar-05 20:29 
GeneralRe: How to read system time? Pin
Kiran Satish22-Mar-05 20:57
Kiran Satish22-Mar-05 20:57 
GeneralRe: How to read system time? Pin
J4amieC23-Mar-05 2:35
J4amieC23-Mar-05 2:35 
GeneralRe: How to read system time? Pin
Kiran Satish23-Mar-05 9:44
Kiran Satish23-Mar-05 9:44 
GeneralBitmaps Pin
Beringer22-Mar-05 18:01
Beringer22-Mar-05 18:01 
GeneralRe: Bitmaps Pin
leppie22-Mar-05 23:24
leppie22-Mar-05 23:24 
GeneralRe: Bitmaps Pin
Judah Gabriel Himango23-Mar-05 6:05
sponsorJudah Gabriel Himango23-Mar-05 6:05 
GeneralStrange "MessageBox" Behavior Pin
Jethro6322-Mar-05 15:19
Jethro6322-Mar-05 15:19 
GeneralRe: Strange "MessageBox" Behavior Pin
Nick Parker22-Mar-05 16:38
protectorNick Parker22-Mar-05 16:38 
GeneralRe: Strange "MessageBox" Behavior Pin
Jethro6323-Mar-05 2:25
Jethro6323-Mar-05 2:25 
GeneralRe: Strange "MessageBox" Behavior Pin
Nick Parker23-Mar-05 5:08
protectorNick Parker23-Mar-05 5:08 
GeneralRe: Strange "MessageBox" Behavior Pin
Jethro6324-Mar-05 2:59
Jethro6324-Mar-05 2:59 
GeneralRe: Strange "MessageBox" Behavior Pin
Jethro637-Apr-05 2:04
Jethro637-Apr-05 2:04 
GeneralBarcode Generator Pin
sardonicus22-Mar-05 13:28
sardonicus22-Mar-05 13:28 
GeneralRe: Barcode Generator Pin
Nick Parker22-Mar-05 16:40
protectorNick Parker22-Mar-05 16:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.