Joshua

Joshua

  • NA
  • 32
  • 0

save input fields

Aug 7 2022 3:02 PM
 return RedirectToAction("Index");

Hello, i have the follow problem:

View1 with different  input fields so for example   

<input asp-for="Expense.ExpenseName1" class="form-control" />

in addition, it also has address fields wich can be entered or queried in an database via button=>open an other View2 queried an via adressid i fetch the adress->go back to View1

 return RedirectToAction("Index");

The problem how i can i save the input text  in the fields wich i have insert befor

Thaks for your help


Answers (3)