You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> You can also get scripts to create the **Northwind** and **pubs** sample databases from the [SQL Server Samples GitHub repository](https://github.com/microsoft/sql-server-samples/blob/master/samples/databases/northwind-pubs/readme.md).
23
+
21
24
The snippets that appear in this guide are based on this [UWP sample app](https://github.com/StefanWickDev/IgniteDemos/tree/master/NorthwindDemo).
22
25
23
26
## First, set up your solution
@@ -53,14 +56,14 @@ In this section, we'll do these things:
53
56
54
57
In the **App.xaml.cs** file, add a property to the `App` class, that gives other classes in your solution access to the connection string.
55
58
56
-
Our connection string points to the Northwind database in a SQL Server Express instance.
59
+
Our connection string points to the Northwind database in a SQL Server Express instance. The connection string in this snippet assumes you kept the default instance name `SQLEXPRESS` when installing SQL Server Express. You can make changes to the connection string to match your SQL Server instance, database, and authentication method.
57
60
58
61
```csharp
59
62
sealedpartialclassApp : Application
60
63
{
61
64
// Connection string for using Windows Authentication.
@@ -216,6 +219,9 @@ Start the project and see products from the Northwind sample database appear in
216
219
217
220
Explore the [System.Data.SqlClient](/dotnet/api/system.data.sqlclient) namespace to see what other things you can do with data in your SQL Server database.
218
221
222
+
> [!TIP]
223
+
> Try asking [Microsoft Copilot](https://copilot.microsoft.com/) for help with your SQL queries. Copilot can help you write SQL queries, and suggest ways to improve your code.
224
+
219
225
## Trouble connecting to your database?
220
226
221
227
In most cases, some aspect of the SQL Server configuration needs to be changed. If you're able to connect to your database from another type of desktop application such as a Windows Forms or WPF application, ensure that you've enabled TCP/IP for SQL Server. You can do that in the **Computer Management** console. (See [Windows Tools/Administrative Tools](/windows/client-management/administrative-tools-in-windows-10#tools) for more information.)
> You can also get scripts to create the **Northwind** and **pubs** sample databases from the [SQL Server Samples GitHub repository](https://github.com/microsoft/sql-server-samples/blob/master/samples/databases/northwind-pubs/readme.md).
20
+
18
21
The snippets that appear in this guide are based on this more [complete sample](https://github.com/StefanWickDev/IgniteDemos/tree/master/NorthwindDemo).
19
22
20
23
## First, set up your solution
@@ -53,14 +56,14 @@ In this section, we'll do these things:
53
56
54
57
In the **App.xaml.cs** file, add a property to the `App` class, that gives other classes in your solution access to the connection string.
55
58
56
-
Our connection string points to the Northwind database in a SQL Server Express instance.
59
+
Our connection string points to the Northwind database in a SQL Server Express instance. The connection string in this snippet assumes you kept the default instance name `SQLEXPRESS` when installing SQL Server Express. You can make changes to the connection string to match your SQL Server instance, database, and authentication method.
57
60
58
61
```csharp
59
62
sealedpartialclassApp : Application
60
63
{
61
64
// Create a connection string using Windows Authentication.
0 commit comments