Click here to Skip to main content
15,892,575 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: The name of the textbox does not exist in the context!! Please Help Me!!! Thanks!!! Pin
Kristy Chan25-Oct-09 18:59
Kristy Chan25-Oct-09 18:59 
GeneralRe: The name of the textbox does not exist in the context!! Please Help Me!!! Thanks!!! Pin
Christian Graus25-Oct-09 19:06
protectorChristian Graus25-Oct-09 19:06 
GeneralRe: The name of the textbox does not exist in the context!! Please Help Me!!! Thanks!!! Pin
Kristy Chan25-Oct-09 19:14
Kristy Chan25-Oct-09 19:14 
GeneralRe: The name of the textbox does not exist in the context!! Please Help Me!!! Thanks!!! Pin
Christian Graus25-Oct-09 19:18
protectorChristian Graus25-Oct-09 19:18 
GeneralRe: The name of the textbox does not exist in the context!! Please Help Me!!! Thanks!!! Pin
Kristy Chan25-Oct-09 19:24
Kristy Chan25-Oct-09 19:24 
GeneralRe: The name of the textbox does not exist in the context!! Please Help Me!!! Thanks!!! Pin
Christian Graus25-Oct-09 19:30
protectorChristian Graus25-Oct-09 19:30 
GeneralRe: The name of the textbox does not exist in the context!! Please Help Me!!! Thanks!!! Pin
Kristy Chan25-Oct-09 19:35
Kristy Chan25-Oct-09 19:35 
GeneralRe: The name of the textbox does not exist in the context!! Please Help Me!!! Thanks!!! Pin
Christian Graus25-Oct-09 19:41
protectorChristian Graus25-Oct-09 19:41 
Your SQL should live in a seperate dll, so that you can make sure that any method you need to write, you only write it once, and you have a central point to manage your database code.

For checking a login, you should write SQL like

select count(*) from username where username = @username and password = @password

The points are

1 - use parameterised queries ( I can't recall if you did )
2 - write SQL that doesn't ever place the password into memory, it just returns if the one you gave it was correct.

Of course, we can't learn it all at once, so perhaps your teacher will cover this sort of stuff a bit further down the line. That's why I said, if you're a student, the code is probably fine, but if it was going to be run in the real world, then there are issues.

Christian Graus

Driven to the arms of OSX by Vista.

Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

GeneralRe: The name of the textbox does not exist in the context!! Please Help Me!!! Thanks!!! Pin
Kristy Chan25-Oct-09 19:46
Kristy Chan25-Oct-09 19:46 
Questionplaying song in my site Pin
mayur rathod25-Oct-09 9:40
mayur rathod25-Oct-09 9:40 
AnswerRe: playing song in my site Pin
Christian Graus25-Oct-09 10:05
protectorChristian Graus25-Oct-09 10:05 
GeneralRe: playing song in my site Pin
Bassam Saoud25-Oct-09 11:44
Bassam Saoud25-Oct-09 11:44 
GeneralRe: playing song in my site Pin
Christian Graus25-Oct-09 12:29
protectorChristian Graus25-Oct-09 12:29 
AnswerRe: playing song in my site Pin
Abhishek Sur25-Oct-09 12:07
professionalAbhishek Sur25-Oct-09 12:07 
Questioncreate textbox dynumicaly and add to placeholder Pin
mehran.asg25-Oct-09 3:22
mehran.asg25-Oct-09 3:22 
AnswerRe: create textbox dynumicaly and add to placeholder Pin
Abhishek Sur25-Oct-09 7:06
professionalAbhishek Sur25-Oct-09 7:06 
QuestionClicking on data DataGrid Pin
amitamit09925-Oct-09 3:19
amitamit09925-Oct-09 3:19 
AnswerRe: Clicking on data DataGrid Pin
Abhishek Sur25-Oct-09 7:00
professionalAbhishek Sur25-Oct-09 7:00 
Questionpopcalendar [modified] Pin
shefa' isied25-Oct-09 3:18
shefa' isied25-Oct-09 3:18 
AnswerRe: popcalendar Pin
Abhishek Sur25-Oct-09 6:57
professionalAbhishek Sur25-Oct-09 6:57 
GeneralRe: popcalendar Pin
shefa' isied25-Oct-09 22:53
shefa' isied25-Oct-09 22:53 
Questionsurvey form Pin
ptvce24-Oct-09 20:47
ptvce24-Oct-09 20:47 
AnswerRe: survey form Pin
Abhishek Sur24-Oct-09 22:17
professionalAbhishek Sur24-Oct-09 22:17 
GeneralRe: survey form Pin
ptvce24-Oct-09 22:27
ptvce24-Oct-09 22:27 
QuestionHow to Set theme to Master page ? Pin
xtplatinum24-Oct-09 3:53
xtplatinum24-Oct-09 3:53 

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.