Would like some help please:
Design First (Access Conversion) Composite Key is CalendarDate and Round.
From Index.cshtml
@f
-
Thanks to Yas Ikeda for the following: The problem is to do with '/' in the urls.
On the Index View I have changed the link from:
@Html.ActionLink("Edit", "Edit", new { CalendarDate = item.CalendarDate.ToString("dd/MM/yyyy"), Round = item.Round })
to
Edit
This fixes the routing problem and the Edit now works ok.
讨论(0)
- 热议问题