In my view, I want to separate guest id with a comma but I do not know how to Looks like 16 and 17 different guests from IDs are misleading.
My model looks like this Is:
public class guest {{key} public {}; Set; } // Reserved PR Intel 32? Reservation {Come; Set; }}
The view controller looks like this:
Public Performance Index () {Return View (_reservationrepository.GetAllReservations ()); } Public IQueryable GetAllReservations () {Return db.Reservations.Include (r = & gt; r.spot). Include (r = & gt; r.User). (R = & gt; R.Greats); }
My view looks like this:
@forach (various items in the model) {& lt; Tr & gt; & Lt; TD & gt; @html DisplayFor (Model Itam => Objects Grandes) & lt; / Td> & Lt; / TR & gt; }
How do I separate guest IDs by a comma?
No comments:
Post a Comment