Click here to Skip to main content
15,885,792 members
Articles / Database Development / SQL Server

Silverlight 2 Database Updating

Rate me:
Please Sign up or sign in to vote.
4.08/5 (7 votes)
30 Aug 2008CPOL8 min read 150.5K   1.2K   45  
Perform database updates from Silverlight applications.
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="DemoUpdateClass.Properties" GeneratedClassName="Settings">
  <Profiles />
  <Settings>
    <Setting Name="NORTHWNDConnectionString" Type="(Connection string)" Scope="Application">
      <DesignTimeValue Profile="(Default)">&lt;?xml version="1.0" encoding="utf-16"?&gt;
&lt;SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
  &lt;ConnectionString&gt;Data Source=.\SQLEXPRESS;AttachDbFilename=G:\Data\VS\VS2008\Silverlight\SilverlightUpdateChanges\SilverlightUpdateChangesWeb\App_Data\NORTHWND.MDF;Integrated Security=True;Connect Timeout=30;User Instance=True&lt;/ConnectionString&gt;
  &lt;ProviderName&gt;System.Data.SqlClient&lt;/ProviderName&gt;
&lt;/SerializableConnectionString&gt;</DesignTimeValue>
      <Value Profile="(Default)">Data Source=.\SQLEXPRESS;AttachDbFilename=G:\Data\VS\VS2008\Silverlight\SilverlightUpdateChanges\SilverlightUpdateChangesWeb\App_Data\NORTHWND.MDF;Integrated Security=True;Connect Timeout=30;User Instance=True</Value>
    </Setting>
  </Settings>
</SettingsFile>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Australia Australia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions