6187 2
How to save Product Order details with User Id?

I have a user table & I want whenever a user orders a product, its order should be saved in order table with user primary key, so what relationship I have to add in user and order table. please let me know

Suppose, this is my ActionMethod

public ActionResult Create( Student student)
{

if (ModelState.IsValid)
{
db.Students.Add(student);
db.SaveChanges();
return RedirectToAction("Index");
}

return View(student);
}

 Database Relationship image

 ...

Type
Question
6121 1
Insert multiple data in multiple tables using single ActionResult in ASP.NET MVC?

I am creating a big assessment form for VISA purpose. Now there will be a section where users will be able to add their education info.

...

Type
Question
6112 1
Paging,Sorting and filtering in asp.net boiler plate?

I have downloaded asp.core project (MVC and angularjs version) and I would like to know how to implement paging sorting and filtering in asp.net boiler plate project using asp.net core

...
Type
Question
6019 0
Creating Google charts in ASP.NET Core MVC
In this article, I have provided working example to use google charts in asp.net core web-application by returning JSON data from server.
Type
Article
5988 0
jQuery AJAX in ASP.NET Core MVC
In this article, I have provided working example to send data to C# ASP.NET Core MVC controller using jQuery AJAX Post method call.
Type
Article

5984 2
5911 0
Large file upload with Progress bar in ASP.NET Core (using Tus)
In this article, I have explained how we can upload large files in ASP.NET Core MVC C# project with progress bar using Tus
Type
Article
5882 2
Type
Question
5857 2
How can I delete a user detail in GIT (visual studio code)?

Hi, I have set user details on my git using those commnads :

  • Open terminal
  • git config --global user.name fadoua  
  • git config --global user.email fadoua@yyy.com  

I want now to delete that user now, how can I do that in Visual Studio code and Git Thanks.

...
Type
Question
5686 3
Show a slug url without id in the url in asp.net mvc

Hello,

I am trying to have this kind of url

...
Type
Question

Page 19 of 31