Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. public class VM_MachineCheckSheet
  2. {
  3. public List<checksheet> checksheet;
  4. public List<MvcApplication2.Models.Machine.machine> machine;
  5. }
  6.  
  7. @model MvcApplication2.Models.CheckSheet.VM_MachineCheckSheet
  8.  
  9. @{
  10. ViewBag.Title = "MachineCheckSheet";
  11. }
  12.  
  13. @Html.RenderPartial("_MachineCheckBoxListPartial", Model.machine);
  14.  
  15. @model IEnumerable&ltMvcApplication2.Models.Machine.machine&gt
  16.  
  17. <div id = "machine_filter" class = "machine_filter")
  18. <table>
  19. <tr>
  20.  
  21. Compiler Error Message: CS1502: The best overloaded method match for
  22. 'System.Web.WebPages.WebPageExecutingBase.Write(System.Web.WebPages.HelperResult)
  23. 'has some invalid arguments
  24.  
  25. Line 7: @Html.RenderPartial("_MachineCheckBoxListPartial", Model.machine);
  26.  
  27. @Html.RenderPartial("_MachineCheckBoxListPartial", Model.machine);
  28.  
  29. @{ Html.RenderPartial("_MachineCheckBoxListPartial", Model.machine); }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement