Is there a way to used stored procs in visual studio when utilizing oledb?

Recommended Answers

All 2 Replies

Having an OledbConnection instanced and opened, you can create an OledbCommand with the command string "EXECUTE MyStoredProcedure" and then using the oledbcommand.executenonquery method.

All of this bein valid if the underlying DB can support stored procedures.

Hope this helps

Is there a way to used stored procs in visual studio when utilizing oledb?

Thank you!

Larry

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.