How the frick do you call a stored procedure when using OdbcDataAdapter?!?

  • Thread starter Thread starter skipfreeordie
  • Start date Start date
S

skipfreeordie

And why the frick is it sooo damn hard to find information on this
crap, anyway?!?

Help!

-Skipward
 
In ADO.NET, you use Command objects to interact with the data source. If
you are going to be using stored procedures, you need to set your
connectionType to StoredProc. Then, the CommandText needs to be set to the
name of the stored procedure. If the SP takes any parameters, you'll need to
set up the command's parameters as well.

This is widely documented. The fact that you seem to be so frustrated with
this, leads me to believe that you just need to learn a bit more about the
basic objects of ADO.NET (connections, commands, dataAdapters, dataSets).
 
It wasn't fricken easy. :)

You'd think that a company like Microsoft would have some sort of repositoy
for the network of developers who use their products to make this sort of
difficult information really fricken easy to find... They could call it
something like MSDN...

:-)
 
Mark said:
Where are you from, by the way...?

I didn't fall off a planet, I fell off a moon. I think you Earthlings
usually refer to this moon as "the Moon" but up there we call it
"the
weebah-matter-magulchy-frillin­gster-worthenhamer-fidillacutt­y".
Yeah, I know, kind of crazy, but we do things a bit different up there
on the
weebah-matter-magulchy-frillin­gster-worthenhamer-fidillacutt­y.

-Skipward Alonzogammystilch Freeman
 
Back
Top