Click here to Skip to main content
15,890,932 members
Home / Discussions / C#
   

C#

 
AnswerRe: Detecting mouse clicks Pin
Mohamad Al Husseiny28-Aug-05 3:38
Mohamad Al Husseiny28-Aug-05 3:38 
QuestionShuting down the garbage collector Pin
Gilad Kapelushnik28-Aug-05 1:23
Gilad Kapelushnik28-Aug-05 1:23 
AnswerRe: Shuting down the garbage collector Pin
Colin Angus Mackay28-Aug-05 4:58
Colin Angus Mackay28-Aug-05 4:58 
GeneralRe: Shuting down the garbage collector Pin
Gilad Kapelushnik28-Aug-05 20:10
Gilad Kapelushnik28-Aug-05 20:10 
AnswerRe: Shuting down the garbage collector Pin
Daniel Turini28-Aug-05 22:44
Daniel Turini28-Aug-05 22:44 
Questionpassword problems Pin
nidhelp28-Aug-05 1:00
nidhelp28-Aug-05 1:00 
AnswerRe: password problems Pin
Mohamad Al Husseiny28-Aug-05 3:14
Mohamad Al Husseiny28-Aug-05 3:14 
GeneralRe: password problems Pin
nidhelp28-Aug-05 4:59
nidhelp28-Aug-05 4:59 
hi

i got error when i tried StrComp Function --> Select * From Customers Where StrComp('ContactName','anyNamE',0)=0. it says something about YourPassword is not in Parameter collection. indeed it's not there. this line is what i wrote in OKbutton click event: oleDbDataAdapter2.SelectCommand.Parameters["YourPassword"].Value = textBox2.Text;

well, i tried to remove that line, but what i typed in password textbox did not successfully sense correct password (eg. hELLo23) and retrieve data from Access and display. It's supposed to sense hELLo23 from hello23 or HELLO23 or any other inputs that are different from that (hELLO23) in my database.

i also tried to do this --> Select * From Customers Where StrComp('ContactName','anyNamE',2)=2 as msdn says write '2' for Microsoft Access only. Performs a comparison based on information in your database. but it seems no difference as writing '0'.

loading of data is fine if i do this --> oleDbDataAdapter2.SelectCommand.Parameters["ID_Number_"].Value = textBox1.Text;
oleDbDataAdapter2.SelectCommand.Parameters["YourPassword"].Value = textBox2.Text;
dataSet41.Clear();
oleDbDataAdapter2.Fill(dataSet41);
if(this.BindingContext[dataSet41, "Table1"].Count == 0)
{
MessageBox.Show("Error Occured");
textBox1.Focus();
}
the only problem is that it's not case-sensitive in password textbox and it shows data even though password case is not the same as db.

i just want to ensure that for password any wrong case will not let user have access to get the data.

thanks a lot!
GeneralRe: password problems Pin
nidhelp28-Aug-05 5:25
nidhelp28-Aug-05 5:25 
AnswerRe: password problems Pin
Mohamad Al Husseiny28-Aug-05 3:28
Mohamad Al Husseiny28-Aug-05 3:28 
GeneralRe: password problems Pin
Matt Gerrans28-Aug-05 17:09
Matt Gerrans28-Aug-05 17:09 
Questionwhat is the differences by 'component' and 'windows form'? Pin
Sasuko28-Aug-05 0:47
Sasuko28-Aug-05 0:47 
AnswerRe: what is the differences by 'component' and 'windows form'? Pin
occcy29-Aug-05 3:42
occcy29-Aug-05 3:42 
QuestionProblem with Crystal Reports and Setup Pin
Claudio Grazioli28-Aug-05 0:43
Claudio Grazioli28-Aug-05 0:43 
Questionemergency ned to help(how to store datagrid in array list) Pin
malak nour27-Aug-05 22:54
malak nour27-Aug-05 22:54 
QuestionHow to get address of variable Pin
levgiang27-Aug-05 22:52
levgiang27-Aug-05 22:52 
AnswerRe: How to get address of variable Pin
Dario Solera27-Aug-05 22:53
Dario Solera27-Aug-05 22:53 
AnswerRe: How to get address of variable Pin
Guffa28-Aug-05 0:53
Guffa28-Aug-05 0:53 
GeneralRe: How to get address of variable Pin
leppie28-Aug-05 3:18
leppie28-Aug-05 3:18 
GeneralRe: How to get address of variable Pin
Guffa28-Aug-05 7:29
Guffa28-Aug-05 7:29 
QuestionC#+MysQL+Crystal report Pin
ben887327-Aug-05 16:13
ben887327-Aug-05 16:13 
QuestionCan anybody check my code, please? Pin
Lord Kixdemp27-Aug-05 12:49
Lord Kixdemp27-Aug-05 12:49 
AnswerRe: Can anybody check my code, please? Pin
leppie27-Aug-05 13:23
leppie27-Aug-05 13:23 
GeneralRe: Can anybody check my code, please? Pin
Lord Kixdemp27-Aug-05 13:55
Lord Kixdemp27-Aug-05 13:55 
GeneralRe: Can anybody check my code, please? Pin
leppie27-Aug-05 14:12
leppie27-Aug-05 14:12 

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.