.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month

Home >> Forum >> SharePoint >> Post New QuestionBookmark and Share Subscribe to Forum

Can SharePoint be linked to a SQL database?

Posted By: Deco     Posted Date: October 27, 2010    Points:2   Category :SharePoint
Please tell me whether sharepoint be linked to a sql database

Author: radhu             
Posted Date: November 01, 2010     Points: 5   

yes we can link sharepoint with SQL database, as same procedure for dotnet project,
Add conncetion string in web.config and get connection with sql database.

objdata.connectionstring = @"server=SQLservername;database=CustomDB;uid=sa;password=sa;";
objdata.Cmd.CommandText = "createfunction
objdata.Cmd.CommandType = CommandType.StoredProcedure;

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend