My Controller Action accepts int id. What to do when calling from View ActionLink with string id?
views:
48answers:
1
+1
A:
The MVC binding infrastructure will convert the string to an int before invoking your controller action method (and throw an exception if conversion fails).
DSO
2009-05-30 07:55:15