Possible Duplicate:
CheckboxList in MVC3.0
Hi I have two classes book and author and I want is that when you add a book appears a list of authors and you can select one or more of one. the best way to do this I think is a checklist but not found a way to do this with mvc3. but have read some examples and not understood, I just starting with mvc so if someone can tell me how could I make these I would greatly appreciate
public class Book
{
public int IdBook {get; set;}
public string Title {get; set;}
public List<author> Authors {get; set;}
}
public class Author
{
public int IdAuthor{get; set;}
public string Name {get; set;}
}