User Profile
Collapse
-
Type Safe SQL Parameters and Update/Insert of database question
Hi, I have been in the process of updating my code with security methods, and I've been learning this from http://msdn.microsoft. com/en-us/library/ms998258.aspx#p agguidelines000 1_authorization (or "Security Guidelines: ASP.NET 2.0"). In the middle of the page under "When Constructing SQL Queries, Use Type Safe SQL Parameters" it says "Use type safe parameters when constructing SQL queries to avoid possible SQL injection attacks... -
It is.
Ayways, thanks for all the help, but, actually I figured out another way to do what I was intending to do, it was with datetime methods instead. -
I'll try the datetime.trypar se method.
Also, I even went to another regex test site, http://www.regular-expressions.info/, and I was able to test it against my string, and it returned as valid. So, it must be some kind of an error in the c# parsing. Has anyone else ever seen or heard of anything like this?Leave a comment:
-
Thnaks for showing me to that page, but, all that showed me was that my regex is correct in theory.Leave a comment:
-
Problem with Regex statement
I want to validate (in the code behind, in the aspx.cs file) a date statement that goes by this format:
- Thursday, October 1rst, 2009 - 3:21 pm
I tried a few different ways, but nothing returns valid (with what I've tried), this is a basic example of what I've tried:
Edit: There was a problem that I notticed with the copy and pasting that I did when I pasted the code, so I fixed that error
...
No activity results to display
Show More
Leave a comment: