ASP.NET MVC CRUD Example 07 create one record using a SQL insert

preview_player
Показать описание
Part 7 of a web and database C# application. This video shows how to use the SQL insert statement.
Рекомендации по теме
Комментарии
Автор

This series is absolutely amazing. I'm building a project to help with interviews. This makes the learning process so much easier and is explained so well its clear how to apply these steps to any application topic. Thanks so much.

jrose
Автор

My code doesn't show Using statement at 10:41 :( Instead it says <form asp-action="Search"> and I created the view as shown, although it only allows me to create Razor pages

tamboleo
Автор

Edit button doesnt work on details page, after inserting a new item. It shows a blank form. Any help?

bucerzanantonio
Автор

First of all I would like to say that your videos are great. They have really helped me out. Thank you for posting them. I do have a question. How do you handle passing empty or blank field values from your form to the gadetsDAO file? I have a form that will not necessarily always have every field entered with data and that is okay, but when I debug it always fails on the field that is empty telling me that it must have data.

caseymccarthy
Автор

How can I do this with lists for storing data?

metox
Автор

for me command.executeNonQuery returns no of affected row whic is always 1 not the id, how do I get id back

aashacrypto