C# Tutorial - Getting Started with Model View View-Model (MVVM) | FoxLearn

preview_player
Показать описание
Introduction tutorial of the Model-View-ViewModel architectural design pattern for Windows Forms Application in C# that covers the basic fundamentals of the pattern, its purpose, and how to use it to Insert Update Delete data in DataGridView with SQL Database using MVVM Architecture pattern step by step in C# Windows Forms Application.

What I like most about MVVM is is the compartmentalization of the various components in a project.

1) The UI components are kept away from the business logic

2) The business logic is kept away from the database operations

3) It's easy to read (because everything has specific places to live)
Рекомендации по теме
Комментарии
Автор

Thankyou!!! I have been loking for a tutorial about this pattern and finally I found the best! Thank you so much!! I love yor channel

DannaxOfficial
Автор

At 1:31 you are assigning dialog controls to each of the database fields. That does not work with Visual Studio Community 2022.

miketadyshak
Автор

what's the best architectural design pattern for Windows Forms Application in C# MVVM or Repository Pattern

hotreload
Автор

She earned me when i see the Rise of nation on her desktop :D

mahdimdh
Автор

could you please do recipe coasting calculation program in visual studio

zulfifarsath
Автор

got a video on validation? I get "Validation failed for one or more entities" when trying to save

davestorm
Автор

SQL server management studio prompts for a server name. What do I enter for that for a local database?

miketadyshak
Автор

Hi, how are you going to validate not to insert the same item in the database?

naedlorenzo
Автор

thanks, will you be showing mvc and presentation model as well? how would you handle situations where edit to a customer record can only be accessed by one user at a time to avoid data conflicts (given this application is distributed to multiple users)?

LindenMikus
Автор

Please can you do this witt repository pattern

emiliowildberger
Автор

Congratulations for your tutorials and thank you very much for them
My question is how to handle a Cancel clicked button?
Because of the two BindingSources (in View and in ViewModel), whatever changes you make on the details components data, these are simultaneously reflected to the datagridview. But what should we do whenever we want to cancel these changes: a) when a new row is getting added b) when an existed row is being edited!!
Look forward to hearing from you or somebody who could help
Thanx a million for you help FoxLearn

niangel
Автор

How can do this in the case of combobox

ashraf
Автор

Awesome.
Hope to see a tutorial searching by.. In database records then get a report and print it.
🌺🌹🌺

foreignerxx
Автор

I wish I could give this video 1000 likes.

babarkhalid
Автор

Great Video
The Model does not work with visual studio 2022.
Thanks

cissemy
Автор

Thank you very useful, I'm asking always for this, if you want of course a program that can allow as to update the principal program already programmed, exactly like the updater of visual studio when there's a new version of it we receive a message who update it automatically thanks

tariknayeb
Автор

Need Help, Make a tutorial showing the use of (two connection strings) connection with Local and Remote database in C # language. Thanks!

queirozquery
Автор

Please add Validation of form in this tutorial.

amjadislamamjad
Автор

make a video with 2 or more tables, please)

XBIPTKA
Автор

Videos with robot voices are *extremely* annoying

alanbourke