8
Answers

asp.net core razor pages. add an input value to two different tables

Photo of Marius Vasile

Marius Vasile

4y
1.1k
1
I have a form with one input but I want to save the data to two different tables
 
  1. <input asp-for="PTWHandover.StartDateNew" class="form-control" style="background-color:aqua" />  
  2.                     <input hidden asp-for="PTWContent.StartDate" />  
What should add to hidden input to have it performing the add? 

Answers (8)