Introduction

Before reading this article, I highly recommend reading the previous articles of the series.

This article explains

Dataset in SQL Server

Shared Datasets in SQL Server

Step 1. Create Shared Dataset (Using SQL Query).

Go to Solution Explorer and right click on Shared Datasets, and click on Add New Dataset.

Or

You can create by using expand Add, then click on New Item, select Dataset from the appeared wizard, and give it to a desired name.

Add new dataset

Next, the following wizard will appear.

Dataset

At this point, Shared Dataset was created. You can see it in Solution Explorer.

Shared Dataset

Step 2. To add multiple Shared Datasets: (Using Stored Procedure)

Go to Solution Explorer again, right, click on Shared Datasets, and click Add New Dataset.

Next, the following wizard will appear.

Query

At this point, the second Shared Dataset was created. You can see it in Solution Explorer.

Solution Explorer

Conclusion

This article taught us about the shared Dataset and how it is created in SQL Server.

I hope you enjoyed this article. Please provide your valuable suggestions and feedback.