Think with me
Thursday, May 12, 2011
MVC 3 Datalist like funcion using Razor viewengine
@foreach (var item in ViewBag.MyDataSource)
{
@item.CustomerName
Edit
or
Delete
}
OR
@foreach (var item in ViewBag.MyDataSource)
{
@item.CustomerName
Edit
or
Delete
}
$(function(){
$('.row .edit-button').click(edit());
$('.row .delete-button').click(delete());
})
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment