Web
Analytics
formcollection .net core | .Net core tutorial for beginners

For Consultation : +91 9887575540

Stay Connected :

IFormCollection action parameter in ASP.NET Core 2|3

Action Parameter

An action method can take parameters. These parameters are, for example, submitted form values or query string parameters. There are essentially three ways by which we can get all the submitted values. Formcollection in .net core is the most fundamental concept to retrieve form parsed values from view to controller’s action.

What are IFormCollection Parameters

•Represents the parsed form values sent with the HttpRequest.

•A parameter of any of this type will contain the list of values submitted by an HTML form; It won’t be used in a GET request




IFormCollection Example in asp.net core 2|3

Employee.cs

Home Controller

Index.cshtml

Show.cshtml

Select your currency
Open chat
Powered by