Biobak Posted March 7, 2006 Share Posted March 7, 2006 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 More sharing options...
aspnetguy Posted March 7, 2006 Share Posted March 7, 2006 read this article about calling stored procedures form SQL Serverhttp://msdn.microsoft.com/library/default....net09102002.asp Link to comment Share on other sites More sharing options...
Biobak Posted March 7, 2006 Author Share Posted March 7, 2006 read this article about calling stored procedures form SQL Serverhttp://msdn.microsoft.com/library/default....net09102002.asp<{POST_SNAPBACK}> Tnx man for the interesting acticle!I just got it working before your post. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now