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


Top 5 Contributors of the Month
Easy Web
Imran Ghani

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

Database Connectivity in Silverlight

Posted By: Madhu Gowda     Posted Date: March 01, 2011    Points:2   Category :Silverlight
I have created UI using silverlight(c#)..
Please guide me that how can i inneract with Database and which Database is most suitable for this application...
give me C# code for DB connection

Thanx in advance...

Regards,
Madhu Gowda


Responses
Author: Sunil Yadav       [Moderator]      
Posted Date: March 02, 2011     Points: 20   

Hi,

Sliverlight does not allows direct connectivity to sql database. You can use Ado.net data entity model or wcf service to fetch data from Sql and display in silverlight application.

Check out this link.

http://www.codeproject.com/KB/silverlight/CntDbSlght.aspx


Author: Subhransu Sekhar Jena             
Posted Date: June 29, 2015     Points: 20   

You can't connect to database directly. You have use WCF data service to connect Database. SQL Server is most suitable for silverlight.

Author: Subhransu Sekhar Jena             
Posted Date: June 29, 2015     Points: 20   


Follow the below links:


http://www.c-sharpcorner.com/uploadfile/raj1979/database-connectivity-using-silverlight/
https://msdn.microsoft.com/en-us/library/ee796239(v=vs.91).aspx
http://forums.asp.net/t/1435394.aspx?How+to+Connect+Database+in+Silverlight+applications+



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
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

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