Using stored procedures with OleDB in C#
Hi there!!
I'm facing problem using stored procs with OleDB. I have a small stored proc. that returns me the count or no. of rows as a return val.
my query is "select count(*) from IrfanTab where irfan='good'
This works fine with SQLClient in C#, but returns 0 when I change the DB provider to OLEDB.
any solution??
THanks,
irfan
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

spgilmoreRank #1,616 · 964 reputationPosted Dec 18, 2003, 9:43 AM EST
Mahesh ChandRank #1 · 393.3K reputationPosted Dec 18, 2003, 10:58 AM EST
madinewalaRank #8,108 · 228 reputationPosted Dec 20, 2003, 3:12 AM EST