Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jul 10, 2012 08:15 AM by Decker Dong - MSFT
All-Star
35986 Points
6550 Posts
Jul 10, 2012 08:11 AM|LINK
Decker Dong - MSFT Check this if I understand you right…… Console.WriteLine(string.Format("select * from Tablename where id = {0}","1;drop table XXX"));
Check this if I understand you right……
Console.WriteLine(string.Format("select * from Tablename where id = {0}","1;drop table XXX"));
This will cause an error, since Access doesn't support batched statements.
118619 Points
18779 Posts
Jul 10, 2012 08:15 AM|LINK
hans_v hans_v
thanks
hans_v
All-Star
35986 Points
6550 Posts
Re: sql injection
Jul 10, 2012 08:11 AM|LINK
This will cause an error, since Access doesn't support batched statements.
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: sql injection
Jul 10, 2012 08:15 AM|LINK
thanks