c# - Adding "pictures" link and relate it to ID -
i doing this tutorial of asp.net, fine, add "pictures" link in table. , when clicked in new page uploaded files shown of id.
how can relate pictures same id of line. new c# mvc3, explanation appreciated.
thanks.
note: edited it, using mysql database.
once have passed model view controller can create link within table i've done below. link pass id or whatever variable have given or using picture want pass controller. controller use id pull images , pass them new view.
@foreach (var item in model) { <tr> <td> @html.actionlink("picture", "picture", new { id=item.id }) | </td> </tr> this tutorial beginning mvc accessing model's data controller
Comments
Post a Comment