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

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -