Entity Framework – Insert Update and Delete in C#

26
2



Entity Framework – Insert Update and Delete in C# Using SQL Server
In this tutorial, we have discussed how to implement CRUD Operations Insert Update Delete and Select in Entity Framework Using C# and SQL Server.

Discussed Points :
– CRUD Operation Using C# Entity Framework
– Entity Framework Datagridview Binding

📖 Best C# Book from Amazon (Affiliate)

Download Project From :

☕ Buy me a Coffee (Channel Support through Donation)

Subscribe to this channel Link to this video
➤ ➤

________________ 🌀 Related Videos __________________
: C# CRUD Using ADO.Net
: Similar Mvc Tutorials
: Similar C# Video Tutorials

________________ 🌟 About this Channel ______________
CodAffection – [ New videos every Monday at 12:30 PM UTC. ].
This channel is all about teaching and motivating software developers to build applications/ websites in various technologies/ programming languages like Angular, NodeJS, Asp.Net, C#, JavaScript, SQL, Python, etc.

________________ 🔗 Social Media Links ______________
Blog :
Facebook :
Twitter :
Youtube :

________________ 📚 Most Recommended Books _______
Code Complete(2nd Edition) :
The Art of Computer Programming :
Clean Code :
Design Patterns :
The Pragmatic Programmer :

________________ 💰 Purchase for Developers _________
💻 Laptops
MacBook Air :
Dell XPS 9570 :
ASUS ZenBook 13 :
Lenovo Ideapad :
⌨️ Keyboard : Das 4 Professional :
🖱️ Mouse : VicTsing :
🎧 Headphone : Mpow 059 Bluetooth :

________________ 🎬 All Playlist _______________________
: Angular
: Asp.Net Core
: Node JS
: Asp.Net MVC
: Web API
: MEAN Stack
: C# Tutorial
: Asp.Net WebForm
: C# WinForm
: MS SQL
: Crystal Report
: Common C# Excercises
: CG Exercises in C Program

#CSharpTutorial #CodAffection #CodAffectionCSharpTutorial

Nguồn:https://wijstaanvooronzegrondrechten.org/

26 COMMENTS

  1. https://goo.gl/RFY5C2 : Subscribe to CodAffection
    https://goo.gl/SUi4bg : Login Window in C# Using SQL Server
    https://goo.gl/zV892S : C# CRUD Operations With SQL Server
    https://goo.gl/bPcyXW : Buy me a Coffee

  2. this channel is the better one, im not even a fluent english speaker but i understand better than people teaching from my own country, i really appreciate your channel bro!!

  3. Can you help me fix this code Update

    using System;

    using System.Collections.Generic;

    using System.ComponentModel;

    using System.Data;

    using System.Data.SqlClient;

    using System.Drawing;

    using System.Linq;

    using System.Text;

    using System.Threading.Tasks;

    using System.Windows.Forms;

    namespace UpdateMaster

    {

    public partial class Form1 : Form

    {

    public Form1()

    {

    InitializeComponent();

    }

    SqlConnection conn = new SqlConnection("Data Source=127.0.0.1;Initial Catalog=master;User Id=sa;Password=123456");

    private void button1_Click(object sender, EventArgs e)

    {

    string SqlQuery = string.Format("UPDATE EXEC sp_addlinkedserver 'GHBILL','','MSDASQL',NULL,NULL,'DRIVER={SQL Server};SERVER=localhost;UID=;PWD=;'", conn);

    SqlDataAdapter Adpter = new SqlDataAdapter(SqlQuery, conn);

    Adpter.SelectCommand.ExecuteNonQuery();

    conn.Close();

    MessageBox.Show("Update SuccessFully!!!");

    }

    }

    }

  4. Hi mr. I viewed your video twice, actually very nice, when you using new way to make connection in page load. actually I always use sqldatasource tool to make connection and get data to another toll(gride view ot ditails view), am trying to mix your method with mine,..thanks

LEAVE A REPLY

Please enter your comment!
Please enter your name here