Click here to Skip to main content
15,887,214 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: deleting a specific record Pin
SeMartens6-Sep-09 20:55
SeMartens6-Sep-09 20:55 
AnswerRe: deleting a specific record Pin
Christian Graus6-Sep-09 21:28
protectorChristian Graus6-Sep-09 21:28 
Questiondate/time Pin
ankitjain11106-Sep-09 20:20
ankitjain11106-Sep-09 20:20 
AnswerRe: date/time Pin
Christian Graus6-Sep-09 20:24
protectorChristian Graus6-Sep-09 20:24 
GeneralRe: date/time Pin
ankitjain11106-Sep-09 20:38
ankitjain11106-Sep-09 20:38 
GeneralRe: date/time Pin
N a v a n e e t h6-Sep-09 21:01
N a v a n e e t h6-Sep-09 21:01 
GeneralRe: date/time Pin
ankitjain11106-Sep-09 21:07
ankitjain11106-Sep-09 21:07 
GeneralRe: date/time Pin
Christian Graus6-Sep-09 21:30
protectorChristian Graus6-Sep-09 21:30 
OK.

1 - your variables should have meaningful names, not textbox1, etc
2 - your SQL should exist in a seperate dll, you should NEVER have SQL in the presentation layer
3 - because you pull your text directly from a textbox, a user can type valid SQL into that textbox, and thus create SQL that runs doing things you don't want. There are articles on SQL injection here on this site
4 - if you use a date/time datatype instead of a string, then the date will show in what ever format you ask for, because it's stored as a date, and not as a specific format.

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: date/time Pin
Amit Patel19856-Sep-09 21:40
Amit Patel19856-Sep-09 21:40 
GeneralRe: date/time Pin
Christian Graus6-Sep-09 22:10
protectorChristian Graus6-Sep-09 22:10 
QuestionImplementing Audio Captcha Pin
Sachin Dubey6-Sep-09 20:19
Sachin Dubey6-Sep-09 20:19 
AnswerRe: Implementing Audio Captcha Pin
Christian Graus6-Sep-09 20:22
protectorChristian Graus6-Sep-09 20:22 
GeneralRe: Implementing Audio Captcha Pin
Sachin Dubey6-Sep-09 20:25
Sachin Dubey6-Sep-09 20:25 
GeneralRe: Implementing Audio Captcha Pin
Christian Graus6-Sep-09 20:28
protectorChristian Graus6-Sep-09 20:28 
GeneralRe: Implementing Audio Captcha Pin
Sachin Dubey6-Sep-09 20:31
Sachin Dubey6-Sep-09 20:31 
GeneralRe: Implementing Audio Captcha Pin
N a v a n e e t h6-Sep-09 21:11
N a v a n e e t h6-Sep-09 21:11 
QuestionHow to implement state management in c# Pin
rj shukla6-Sep-09 19:50
rj shukla6-Sep-09 19:50 
AnswerRe: How to implement state management in c# Pin
Christian Graus6-Sep-09 20:03
protectorChristian Graus6-Sep-09 20:03 
AnswerRe: How to implement state management in c# Pin
sashidhar6-Sep-09 21:35
sashidhar6-Sep-09 21:35 
QuestionHow to avoid reinitialization of variables in page load Pin
amittinku6-Sep-09 17:28
amittinku6-Sep-09 17:28 
AnswerRe: How to avoid reinitialization of variables in page load Pin
Christian Graus6-Sep-09 18:28
protectorChristian Graus6-Sep-09 18:28 
GeneralRe: How to avoid reinitialization of variables in page load Pin
amittinku6-Sep-09 18:52
amittinku6-Sep-09 18:52 
GeneralRe: How to avoid reinitialization of variables in page load Pin
Christian Graus6-Sep-09 19:22
protectorChristian Graus6-Sep-09 19:22 
Questiondata insertion in gridview Pin
swtlibra6-Sep-09 17:28
swtlibra6-Sep-09 17:28 
AnswerRe: data insertion in gridview Pin
Abhijit Jana6-Sep-09 18:16
professionalAbhijit Jana6-Sep-09 18:16 

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.