Click here to Skip to main content
15,878,945 members
Articles / Web Development / ASP.NET

SQL Injection and Cross-Site Scripting

Rate me:
Please Sign up or sign in to vote.
4.92/5 (144 votes)
17 Apr 2017CPOL14 min read 498.7K   3.9K   317  
An article on SQL Injection and Cross-Site Scripting with sample code in C#.
.comment{border-right:silver 1px solid;border-top:silver 1px solid;margin-bottom:10px;border-left:silver 1px solid;border-bottom:silver 1px solid;background-color:#fff;padding:3px 10px}
.comment .date{font-size:10px;color:#666;border-bottom:silver 1px dashed;text-align:right;margin:0;padding:3px 0}
.comment .author{border-top:silver 1px dashed;margin:0;padding:3px 0}
.comment .content{min-height:55px;margin:5px 5px 5px 0}
.comment .gravatar{clear:both;float:left;margin:5px 10px 5px 0}
.commentForm{padding:5px}
.commentForm INPUT{width:300px}
.commentForm LABEL{margin-top:4px;display:block;float:left;width:80px}
.commentForm TEXTAREA{border-right:silver 1px solid;border-top:silver 1px solid;border-left:silver 1px solid;width:100%;border-bottom:silver 1px solid;height:150px}
.button{border:1px solid blue;background:#FFFBFF;font-family:Verdana;font-size:10px;color:#284775;font-weight:700;cursor:pointer;height:19px}
.regularText{font-family:Verdana;font-size:10px}
.labelError{color:Red;font-weight:700;font-family:Verdana;font-size:10px}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
I have over 10 years of experience working with Microsoft technologies. I have earned my Microsoft Certified Technology Specialist (MCTS) certification. I'm a highly motivated self-starter with an aptitude for learning new skills quickly.

Comments and Discussions