asp.net-mvc
Asp .Net MVC Dropdown
I want to display range from 2000 to 2020, so I am using this:
Why ActionResult method doesn’t take any parameter from Html.BeginForm() inside view?
I tried to make a database named PersonalJobManagement and it includes information of my employees.
I would like to code an ASP.NET MVC website to edit, delete or create new data for this database.
how to solve my problem of conversion of string to datetime?
I wanted to list dates in the dropdown list, but I am having a conversion problem in the GenreLst.AddRange command (GenreQry.Distinct ()); can someone help? thanks
I tried use Convert.ToDateTime() but not work.
Getting 404 for HttpPost Action
I have a table of records being displayed in a partial view and some of them have no ID values. So I am trying to use an alternative field as an ID when clicking the Edit link for a particular record. I’m not sure if I can legally have two Post action methods, even though I am using different methods names and params.
Visual studio 2019 Add Area missing
Currently, I created a ASP.NET Core Web app using VS2019, came across that ‘Add Areas’ option is missing from Context menu.
Binding DropDownList from Database
I’m building a view which will display tabular data based on selections from two dropdownlists, the first which selects departments is populated from the database. The second is a static dropdownlist for “Year” which I haven’t got to yet. There are answers to similar questions, but I’ve looked at them and tried everything. I’ve got to the point where I’m getting a null exception in the view where I created the markup for the dropdownlist.
File Input does not upload file to MVC Action
For a project i’ve been trying to upload a file from my view to my controller action.
However, for some reason the action is reached but for the file i receive a null.
Sending large amount of data from view to controller in asp.net
To be more specific let me explain what did I encounter.
I was trying to submit a List of data from view to controller. I was able to submit some data successfully without any problem. But the problem arises when the data is more than around a list of 250 items and more than that. When I click a submit button it passes a NULL value when I debug it. There is no error with my code because I have submitted a list of 100 items to the controller without any problem. I guess there will be something that I have to specify so that It will also send a large number of lists.
Here I’m not using ajax or any javascript code to submit the form. I’m submitting it directly to the controller using post request.

