How to Import Data from Excel File to Database Table Using ASP.NET Core and Entity Framework

  Рет қаралды 9,157

Dex Code Lab

Dex Code Lab

Күн бұрын

Import Data from Excel File to Database Table Using ASP.NET Core 7 and Entity Framework
0:00 - Introduction
1:45 - Installing Packages
3:32 - Database Configuration
8:44 - Running Migrations
12:22 - Creating View and Uploading File
17:21 - Installing 'ExcelDataReader' Package
18:48 - Insert Data in Database
22:44 - Showing Success Message/Alert
BuyMeCoffee
www.buymeacoffee.com/techiebo...
Github
github.com/dexcodelab/ExcelTo...
In this tutorial, I have shown the process of importing data from an Excel file into a MS SQL Server Database table using ASP.NET Core 7 and Entity Framework. I have explained things step-by-step so that if you follow me along you get the same result. Please do like the video and subscribe to my channel. If you like my video you can support me by buying me a coffee.

Пікірлер: 44
@olegpogorelov5223
@olegpogorelov5223 5 ай бұрын
Thank you very much! Finally, thanks to your video tutorial, I understood this topic!)
@dexcodelab
@dexcodelab 4 ай бұрын
You're welcome. Glad it helped!
@namessis
@namessis Ай бұрын
Amazing thanks for your labor and solution. !!! We are excitedly waiting for content.
@dexcodelab
@dexcodelab Ай бұрын
Thankyou for liking the content, will try to upload more helpful content in future
@CyberCopgyan
@CyberCopgyan Ай бұрын
Thanku bro this solution is best one
@dexcodelab
@dexcodelab Ай бұрын
You're welcome
@juliuszhu9123
@juliuszhu9123 2 ай бұрын
nice job! thanks for doing this.
@dexcodelab
@dexcodelab 2 ай бұрын
My pleasure!
@ekremozafsar2875
@ekremozafsar2875 7 ай бұрын
Thank u man keep going!
@dexcodelab
@dexcodelab 7 ай бұрын
You're welcome
@hieuang79
@hieuang79 3 ай бұрын
Thank you very much!
@dexcodelab
@dexcodelab 3 ай бұрын
You're welcome sir
@pamodpeiris154
@pamodpeiris154 2 ай бұрын
Very good explanation. Short and clear.
@dexcodelab
@dexcodelab 2 ай бұрын
Glad you liked it
@hoangheo2505
@hoangheo2505 8 ай бұрын
thanks you for tutorial ^^
@dexcodelab
@dexcodelab 7 ай бұрын
You're welcome 😊
@bipinlal1724
@bipinlal1724 4 ай бұрын
Very good video, really understood. data can be saved very 👍👍👍👍
@dexcodelab
@dexcodelab 4 ай бұрын
Thank you sir
@myti1617
@myti1617 3 ай бұрын
that was perfect
@dexcodelab
@dexcodelab 3 ай бұрын
Thankyou sir
@raziuddinmohd
@raziuddinmohd 9 ай бұрын
Nice explanation..very useful
@dexcodelab
@dexcodelab 9 ай бұрын
Thank you sir
@user-gm9kv9cw8j
@user-gm9kv9cw8j 7 ай бұрын
Please make video for bulk insert from excel to sql server like 1m row insert at one click
@dexcodelab
@dexcodelab 4 ай бұрын
That sounds good! I'll keep it in mind for future content.
@hoangminhnguyen9571
@hoangminhnguyen9571 8 ай бұрын
Can you do a video about export excel file from db?
@dexcodelab
@dexcodelab 8 ай бұрын
I don't promise but i will try
@randnas
@randnas Ай бұрын
How can I import data with more than one file to more than one table??
@dexcodelab
@dexcodelab Ай бұрын
First make the html input tag to select multiple files. Second convert IFormFile to List files. Then loop through files and perform import operation on each file.
@sunnyafran415
@sunnyafran415 8 ай бұрын
I can't add import excel file to datagridview then save to database at the same project, you have uploaded two different tutorials ,please give a tutorial import excel file display DataGridView and save to database in same project without migration, please it's urgent.
@dexcodelab
@dexcodelab 7 ай бұрын
Sorry, i have a busy schedule these days, once i will find time i will do it. Do you want it done with db first approach?
@tharun4939
@tharun4939 8 ай бұрын
Is it with the validation too
@dexcodelab
@dexcodelab 8 ай бұрын
Validation of?
@tharun4939
@tharun4939 8 ай бұрын
@@dexcodelab SQL data types
@dexcodelab
@dexcodelab 8 ай бұрын
Can you please share the exact error?
@Sameyo_Rei
@Sameyo_Rei 5 ай бұрын
how to change it to Net core web APi
@dexcodelab
@dexcodelab 5 ай бұрын
Sure, i will try to make a video for this
@Sameyo_Rei
@Sameyo_Rei 5 ай бұрын
@@dexcodelab thank you
@dexcodelab
@dexcodelab 4 ай бұрын
welcome sir, New video with API is uploaded
@tharun4939
@tharun4939 8 ай бұрын
I am getting an error can you please help me with that error 🙏
@dexcodelab
@dexcodelab 8 ай бұрын
Where are you getting the error?
@tharun4939
@tharun4939 8 ай бұрын
@@dexcodelab during the database app user creation
@dexcodelab
@dexcodelab 8 ай бұрын
Can you please share the exact error?
How to import data from Microsoft Excel into Microsoft SQL Server
9:28
Don't throw exceptions in C#. Do this instead
18:13
Nick Chapsas
Рет қаралды 251 М.
Василиса наняла личного массажиста 😂 #shorts
00:22
Денис Кукояка
Рет қаралды 10 МЛН
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 94 МЛН
That's how money comes into our family
00:14
Mamasoboliha
Рет қаралды 6 МЛН
Uploading, Reading and Displaying Excel File using ASP .Net Core
13:52
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 84 М.
Step-by-Step Data Migration: Excel to SQL Server with Power Automate Flow
17:33
Uploading And Reading Excel File using ASP.NET Core MVC
10:52
Thumb IKR - Programming Examples
Рет қаралды 44 М.
.NET Framework vs .NET Core vs .NET vs .NET Standard vs C#
25:14
IAmTimCorey
Рет қаралды 542 М.
Create an EF Core Model from Database First (Scaffold DB Context)
4:56
Roberts Dev Talk
Рет қаралды 26 М.
Learn ASP.NET Core MVC (.NET 6)
3:04:18
DotNetMastery
Рет қаралды 53 М.
Василиса наняла личного массажиста 😂 #shorts
00:22
Денис Кукояка
Рет қаралды 10 МЛН