views:

54

answers:

2

How to create A new table in the sharepoint database from c# using the sharepoint libraries.

+3  A: 

It is not recomended to edit the sharepoint database. You can use the sharepoint list as a storage repository or create a new database and use it along with a custom webpart.

What is the need for a new table?

Shoban
A: 

You can create your own database and store data inside there. You can use web.config (See SPWebConfigModification class) to store your connection string But do not interact with SharePoint database in a direct way, unless you want problems.

Maybe you need SLAM! (SharePoint List Association Manager) or maybe you choose path of creating your own database

Janis Veinbergs