asp.net - A WHERE statement in my SqlDataSource causes invalid character exception (ORA-00911), why? -


i'm using oracle developer tools , generated select command is:

selectcommand = "select "firstname" "users" ("username" = ?)">` 

then removed " , replaced them single quote: '.

then error (mentioned in title).

any suggestions how can make work?

you should using this

select firstname users username='%?'

just replace value in condition live values. note down syntax of sql


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -