I have a select statement in my dataadapter like this:
select * from table1
where something in
param2)
and in my code a passing a parameter like this:
da.SelectCommand.Parameters[0].Value = "'string1', 'string2'"
I also tried:
da.SelectCommand.Parameters[0].Value = "string1', 'string2"
but neither works. I am searching a oracle database but i also tried at a SQL server database.
thank you
select * from table1
where something in
and in my code a passing a parameter like this:
da.SelectCommand.Parameters[0].Value = "'string1', 'string2'"
I also tried:
da.SelectCommand.Parameters[0].Value = "string1', 'string2"
but neither works. I am searching a oracle database but i also tried at a SQL server database.
thank you