Windows Forms Database Project Problem with Data Sources

Nicholas Piazza 536 Reputation points

I am trying to setup the example Windows Forms SampleDatabaseWalkthrough example in Microsoft document However, when I try to open the Data Sources window as indicated in the instructions, I get the message:
This window is not supported for the selected project. For steps to enable data binding, please visit:
However, that page has a large number of links that would seem to take forever to read. Could you give me a more direct answer to the project. Here is a copy of the project file:

<Project Sdk="Microsoft.NET.Sdk">


I have already created the SampleDatabase MDF and LDF files.

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,524 questions
0 comments No comments
{count} votes

Accepted answer
  1. Viorel 114K Reputation points

    According to documentation, you should create a different kind of projects: “Windows Forms App (.NET Framework)”.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful