Load Data to a DataGrid in WPF With MSSQL And EntityFramework in C#

preview_player
Показать описание
#EntityFramework #DataGrid
In this video I show you step by step on how you can read data from
Microsoft SQL Server using EntityFramework then display the data in a
DataGrid control

GitHub Source Code:
Рекомендации по теме
Комментарии
Автор

Thank you for the excellent, straightforward tutorial. This deserves more view.
Note: If your table does not have any primary keys, enable protected override void OnModelCreating(ModelBuilder modelBuilder). Don't delete that part like on the video.

hoangtrungsia
Автор

Wow. This was brilliant. And it is one of the most treasured videos for me. Thank you

standman
Автор

Thank you very much! Hello from Russia:D

shraga
Автор

Thank you for the example, it was very helpful.
But can we reach the data in xaml code using data binding?

muhammedmercan
Автор

can i insert data to the sql server if i use this method?

nickolajrasmussen
Автор

Can we use SqlLite together with data grid instead of sql server?

nikolamaksimovic
Автор

Hi. could you please share your XAML code so i can understand how to setup and design the DataGrid? Thank you.

muzamilmehmood
Автор

Hi,

I am new to C# WPF.

Created a window with a listview menu in it.
Depending on the choice, this opens a certain UserControl screen, in one of these it opens a personnel list in a DBGrid and this without any problems.

But my next step is if I double click on a selected row of DBGrid, it should show a new screen with all the details of the person and the ability to execute (CRUD),
on closing I return to my DBGrid !!!

Note, my CRUD buttons are on another bottom menu bar that is also used for any other usercontrol screens!!

Is it possible to have the source code of your video "Page Navigation in WPF Using a Frame Control in C#"

With best regards,

a.daubercy