This question is locked. New answers and comments are not allowed.
How can I do a many-to-many relationship crud operation using ASP.net MVC grid control.
Also if possible I want to use a checkboxlisthelper ( from many existing helper online to choose the many items )
Example ( using Code First )
-------------------------------------------
public class Blog
{
public int Id { get ; set ; }
public string Title { get; set; }
public virtual ICollection<Tag> Tags { get ; set ; }
}
public class Tag
{
public int Id { get ; set ; }
public string Name { get ; set ; }
public virtual ICollection<Blog> Blogs { get ; set ; }
}
In Blog creation View I want to show a checkboxlist ( or atleast a multi select listbox ) to choose tags fopr the blog and save
Thanx
Also if possible I want to use a checkboxlisthelper ( from many existing helper online to choose the many items )
Example ( using Code First )
-------------------------------------------
public class Blog
{
public int Id { get ; set ; }
public string Title { get; set; }
public virtual ICollection<Tag> Tags { get ; set ; }
}
public class Tag
{
public int Id { get ; set ; }
public string Name { get ; set ; }
public virtual ICollection<Blog> Blogs { get ; set ; }
}
In Blog creation View I want to show a checkboxlist ( or atleast a multi select listbox ) to choose tags fopr the blog and save
Thanx