This project is read-only.

Can you use data from another sqlserver database?

Topics: Administration
Sep 22, 2011 at 12:07 PM

This is probably a silly question, but I am new to this system and am very impressed with what I have seen.

I have started to build a basic website and all is good. My next thing is that I would like to display data from my sqlexpress database in the orchard website. Using ASP.NET this is simple - setup a sqldatasource etc and job done - I don't see how to do this in Orchard,

Can someone point me in the right direction please?

Sep 22, 2011 at 7:54 PM

Same thing in Orchard, except that you'll have to opt out of the ambient transaction by wrapping your DB access code with using (new TransactionScope(TransactionScopeOption.Suppress))