forum

Home / DeveloperSection / Forums / How can I access formcollection values in action method through ASP.NET mvc ?

How can I access formcollection values in action method through ASP.NET mvc ?

Royce Roy 1524 20-Jun-2017

hello!

I have formcollection accessed in action method, but not getting the value of it .

I have written the following code:

 

string value = collection[1];

 

But I am unable get the value.

Help me, how can I access the value in action method.

I want to access form value using form collection

 


Updated on 21-Jun-2017

Can you answer this question?


Answer

2 Answers

Liked By