Create View on MS SQL-Server 2005 with C#

  • Thread starter Thread starter Karsten
  • Start date Start date
K

Karsten

Hi,

I want to create dynamic reports with C# and MS SQL-Server 2005
Reporting Services.
Since the reporting service uses a data-table or data-view, I want to
create a view dynamically.

How can I create a data-view on a MS SQL-Server 2005 with C#?

Thanks for your help!
Karsten
 
Hi,

You can send a CREATE VIEW with the needed fields , you have to see how
you select the naming to avoid conflicting between two running isntances of
your app. also you should remove the view after you are done with it.

No idea if Reporting Services provide something for this escenario though
 
Hi,

thanks for your answer!
The question is, how do I send a CREATE VIEW to the database?
Do you have some code?

Karsten
 

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