as I've excluded "ID", how can i exclude another attribute?
views:
1468answers:
3
+13
A:
Exclude takes a comma-separated list of attributes. When parsed it also trims the inputs so you can use whitespace to make it more readable.
Example:
[Bind(Exclude="ID, Name")]
tvanfosson
2009-03-26 12:34:21
+2
A:
Try delimiting the attributes you want to exclude with commas, e.g.
[Bind(Exclude="ID,Name")]
Lee D
2009-03-26 12:35:29