G
Guest
Hi,
I have a tableadapter which is used to access Oracle database using OLEDB
for Oracle. I have a query on this adapter which consumes a procedure, this
procedure has output parameter as Char(1) or Int. From my business layer, I
call the adapter query by passing parameter of out string. It works perfect
for Oracle.
Since this app is supposed to support both Oracle and SQL, so I wrote a
similar stored procedure on SQL Server 2005, which has output parameter as
char(1) as well. I changed connection string of the adapter to point to my
sql server. When I run my application, I got error "Type is Invalid". It even
doesn't go to database( I traced database).
Any idea?
Thanks.
I have a tableadapter which is used to access Oracle database using OLEDB
for Oracle. I have a query on this adapter which consumes a procedure, this
procedure has output parameter as Char(1) or Int. From my business layer, I
call the adapter query by passing parameter of out string. It works perfect
for Oracle.
Since this app is supposed to support both Oracle and SQL, so I wrote a
similar stored procedure on SQL Server 2005, which has output parameter as
char(1) as well. I changed connection string of the adapter to point to my
sql server. When I run my application, I got error "Type is Invalid". It even
doesn't go to database( I traced database).
Any idea?
Thanks.