TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
darma teja
NA
496
336.2k
How to fix sanitize the parameters of SqlCommand?
Dec 5 2017 8:54 AM
My code is like this:
string groupQuery= blabla;
string WhereQuery= blabla;
string cmt= String.Format("selecte * from Customer {0}{1} order by CustomerName", WhereQuery, groupQuery);
SqlCommand cmd1=new
SqlCommand
(cmt);
everything is working fine. But
at
SqlCommand
(cmt); Visual studio sugest me to "Make sure to sanitize the parameters of this SQL command"
How can I fix it?
Reply
Answers (
4
)
Signal Processing System
How to convert one list to multidimensional array?