Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

Prevent SQL Injection

$
0
0

I have this simple query executed in custom control.

SELECT StateID, StateName FROM State WHERE IsEnabled = 'TRUE' ORDER BY StateName

How can I prevent SQL Injection form this code?


Viewing all articles
Browse latest Browse all 1698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>