I need some help in my asp.net MVC web-application, how can I Upload an excel file and extract or save(import) excel file data into my MS SQL server database using asp.net MVC and C#?
Any reference link or code will help, as I want to perform both uploading a file and saving its data into database, any combined solution will work
thanks
...1. I want to fetch some data from DB (parameters false ,true,some id(e.g.: 30245)) Following is function written in controller :
...I am trying to add new migrations in ASP.NET Core 3 web-api application which has already created database and using code-first approach, so when I trying to add new migrations, after creating Class and adding it in DBContext, getting this error, as shown below
"More than one DbContext was found. Specify which one to use. Use the '-Context' parameter for PowerShell commands and the '--context' parameter for dotnet commands."
...
I have a survey in my MVC app and I need to display its results to a pie chart. This is what I have done by so far (according to this)
I would like to ask if it possible to bring the data for my Survey Model
...Hello Guys !!
Actually, My Requirement is to create a Gridview dynamically and bind data in grid view and generating another gridview same time on the previous grid view row again and again...
1.Binding Gridview Dynamically from code Behind In asp.net from database table
2.Generating another Gridview on from above gridview row index if data find.
My Code
...Hello, I would like to know how can I get currently logged in User ID using ASP.NET Core Identity in ASP.NET Core 3 or 6? Trying to Use MVC Version 'User.Identity.GetUserId()
' but it doesn't help.
I have just started using Visual Studio Code and not sure what is the keyboard shortcut for expand-collapse or fold-unfold sections of code in VS Code? Can you help me with that.
...I am showing some data in modal pop-up using BootStrap .Basically I am using for each loop for displaying Data. So I would like to know, How To apply paging in these scenario using PagedList asp net core mvc or any other plugin in pop-up modal.
thank you
...