Click here to Skip to main content
15,914,348 members
Home / Discussions / C#
   

C#

 
AnswerRe: Why the line disappear? Pin
Luc Pattyn17-Apr-09 2:02
sitebuilderLuc Pattyn17-Apr-09 2:02 
AnswerRe: Why the line disappear? Pin
0x3c017-Apr-09 1:35
0x3c017-Apr-09 1:35 
GeneralRe: Why the line disappear? Pin
Letsan17-Apr-09 4:32
Letsan17-Apr-09 4:32 
Questionhow to compare textbox text and database table field Pin
demetter17-Apr-09 0:43
demetter17-Apr-09 0:43 
AnswerRe: how to compare textbox text and database table field Pin
J a a n s17-Apr-09 1:08
professionalJ a a n s17-Apr-09 1:08 
General[Message Deleted] Pin
demetter17-Apr-09 1:46
demetter17-Apr-09 1:46 
GeneralRe: how to compare textbox text and database table field Pin
Ashfield17-Apr-09 1:56
Ashfield17-Apr-09 1:56 
GeneralRe: how to compare textbox text and database table field [modified] Pin
demetter17-Apr-09 2:17
demetter17-Apr-09 2:17 
this code i have used.database is msaccess(mdb)


private void btn_login_Click(object sender, EventArgs e)
{
try
{
string UserName,password,txtPassword;

UserName = txt_user.Text.ToString();
password = txt_pwd.Text.ToString();

//Query = "insert into Login (UserName,txtPassword ) values ('" + UserName.ToString() + "','"+ password.ToString() +"' )";
//daSet = dd.ExcuteDataSet(Query.ToString());
//MessageBox.Show("Successfuly Saved..!");
Clear();
if (UserName == ds.Tables["Login.UserName"].ToString())
if (password == ds.Tables["Login.txtPassword"].ToString())

{


MessageBox.Show("correct");
}
else
{
MessageBox.Show("incorrect");
}

}
catch (Exception ex)
{
MessageBox.Show(ex.Message.ToString());
}

} Cry | :((

modified on Friday, April 17, 2009 8:38 AM

GeneralRe: how to compare textbox text and database table field Pin
Ashfield17-Apr-09 9:08
Ashfield17-Apr-09 9:08 
QuestionAccess Data Table : Update / Insert Pin
Ravindra Bisen17-Apr-09 0:15
Ravindra Bisen17-Apr-09 0:15 
AnswerRe: Access Data Table : Update / Insert Pin
SeMartens17-Apr-09 0:43
SeMartens17-Apr-09 0:43 
AnswerRe: Access Data Table : Update / Insert Pin
Ravindra Bisen17-Apr-09 0:44
Ravindra Bisen17-Apr-09 0:44 
QuestionReturn confirm message problem Pin
M. K. BASHER17-Apr-09 0:15
M. K. BASHER17-Apr-09 0:15 
AnswerRe: Return confirm message problem Pin
Rajesh Anuhya17-Apr-09 0:45
professionalRajesh Anuhya17-Apr-09 0:45 
QuestionRead the Bulgari alphabet Pin
abbd16-Apr-09 23:55
abbd16-Apr-09 23:55 
AnswerRe: Read the Bulgari alphabet Pin
abbd17-Apr-09 4:17
abbd17-Apr-09 4:17 
QuestionClickOnce Pin
yesu prakash16-Apr-09 23:54
yesu prakash16-Apr-09 23:54 
QuestionHow to draw a graph using C# Pin
lune1216-Apr-09 23:29
lune1216-Apr-09 23:29 
AnswerRe: How to draw a graph using C# Pin
Nagy Vilmos17-Apr-09 1:06
professionalNagy Vilmos17-Apr-09 1:06 
AnswerRe: How to draw a graph using C# Pin
J a a n s17-Apr-09 1:11
professionalJ a a n s17-Apr-09 1:11 
AnswerRe: How to draw a graph using C# Pin
Russell Jones17-Apr-09 3:25
Russell Jones17-Apr-09 3:25 
QuestionNUnit test Pin
devvvy16-Apr-09 23:00
devvvy16-Apr-09 23:00 
AnswerRe: NUnit test Pin
SeMartens17-Apr-09 0:46
SeMartens17-Apr-09 0:46 
AnswerRe: NUnit test Pin
Luc Pattyn17-Apr-09 1:27
sitebuilderLuc Pattyn17-Apr-09 1:27 
QuestionODBC Excel ConnectionString Problem - Urgent Pin
mishigun16-Apr-09 22:52
mishigun16-Apr-09 22:52 

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.