Relative Content

Tag Archive for asp.netasp.net-mvc

Issue In a Controller of Asp .NET core MVC app

I don’t know whats the problem My data is being saved but toast message and redirection to an action method is not working the fun part is while debugging it executes both ending conditions but I don’t know why this is not working! (Toast messages and redirections are working on Other Controllers)

How to display the Rupee symbol (₹) in an ASP.NET MVC application?

<tbody> @foreach (var item in Model) { <tr> <td> @Html.DisplayFor(modelItem => item.FlightDeparture) </td> <td> @Html.DisplayFor(modelItem => item.FlightDuration) </td> <td> @Html.DisplayFor(modelItem => item.FlightArrival) </td> <td> @Html.DisplayFor(modelItem => item.FlightStatus) </td> <td> **@Html.DisplayFor(modelItem => item.FlightPrice)** </td> <td> <td class=”text-center”> <a asp-action=”AddOrEdit” class=”btn btn-outline-primary” asp-route-FlightsId=”@item.FlightsId”>Edit</a> </td> <td class=”text-center”> <a asp-action=”Details” class=”btn btn-outline-info” asp-route-FlightsId=”@item.FlightsId”>Details</a> </td> <td class=”text-center”> <a asp-action=”Delete” class=”btn […]

Recording from different fields to the same table in mvc

I have a problem, when I press the add more button in mvc, it adds new fields on the cshtml side but I cannot save the data on the controller side.
my general purpose is that I want the fields opened when the add more button is pressed to be registered in the database as new data. so the more times the more button is pressed, the more data it should add, but it adds the data once.

Best courses, youtube videos for Asp.net MVC

I started my internship recently. My manager told me that I need to learn ASP.NET MVC.I have no knowledge about ASP.Net Could you recommend a course that is not outdated? I have no knowledge about ASP.Net. Thanks for any helps.