exec stored proc from c#

  • Thread starter Thread starter Analizer1
  • Start date Start date
A

Analizer1

does anybody know how
to execute a stored proc from a different database

tks
Analizer1
 
Analizer1 said:
does anybody know how
to execute a stored proc from a different database

yourcmd.CommandText = "theotherdatabase.theuserordbo.nameofsp";
yourcmd.CommandType = CommandType.StoredProcedure;

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top