TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Peter Hacker
NA
11
1.7k
Execute other stored procedures from C#
Nov 16 2017 3:32 PM
Hi all,
Does anyone knows how to execute a stored procedure in c# that are in a different schema besides [dbo]?
Lets sat that my stored procedures on DB are separated by schemes, how can I use c# to access them regardless they are in the dbo schema?
Below is the code that I normally use:
...
SqlCmd.CommandText = "procedure name;
SqlCmd.CommandType = CommandType.StoredProcedure;
...
Thanks in advance
Reply
Answers (
4
)
ASPX extension not showing when browing site
Passing list of Objects from Controller to View