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?
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?