6522 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
6511 0
Code First Migration with Entity framework
The article gives introduction and description of using code first migrations with Entity framework using ASP.NET MVC C#
Type
Article
6393 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
6364 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
6339 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

6297 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
6185 2
6167 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
6126 2
Type
Question
6106 1
What is shortcut for expand-collapse sections of code in VS Code?

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.

...
Type
Question

Page 19 of 31