Hello,
I have created a stored procedures with 2 where criteria. How can i pass two parameters to a stored procedure as criteria from c# coding?
Thank you in advance.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Roei BarPosted Sep 13, 2009, 4:17 AM
well there are 2 options which i will show in the following code sample:
DealyPosted Sep 13, 2009, 4:33 AM
Thanks for all the help :)
DealyPosted Sep 13, 2009, 4:31 AM
No mapping exists from object type System.Web.UI.WebControls.TextBox to a known managed provider native type.
Roei BarPosted Sep 13, 2009, 4:28 AM
DealyPosted Sep 13, 2009, 4:23 AM
So, with your code i pass @parameters ID and @demographics into my stored procedure?