databinding in asp.net
So I'm just starting using asp.net, I have a card class that has a deck type. (Ex a Bear class would be of "Animal" Deck type)
I am trying to create a card creation view but having issues.
If I push an IEnumerable to the view (
) then the syntax for the select statement works
But then this part doesnt
But if i dont make @model an IEnumerable then the opposite happens. Whats my best route here?
I am trying to create a card creation view but having issues.
If I push an IEnumerable to the view (
) then the syntax for the select statement works
But then this part doesnt
But if i dont make @model an IEnumerable then the opposite happens. Whats my best route here?