Jump to content

Use stored procedure with C# (web part)


Biobak
 Share

Recommended Posts

Hi, I have some C# code with a giant sql string in it, you cant miss it :) . This piece of code works and gets some data out of a database. What I want to accomplish is the sql string out of my code, so i made a stored procedure. The problem is that I dont know how I can use the stored procedure in my C# code, so that i get the same results as the sql string in my code does now. Can some one help me out? Tnx in advance.EDIT-- Got it working :) --EDIT

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...