Why is my response always 0 after using parameters in OleDB?

I have a simple .aspx login website and I use OleDB for local validation.

Here is my problem: After finding SQL Injection vulnerability, I decided to use parameters. But after using parameters my response is always "0" (Same as "Authenticated=false"). But if I don't use parameters, my response is "1" (Same as "Authenticated=true").