lundi 4 janvier 2016

How to convert ErrorCode to String with ASP.NET MVC5?

I am trying to convert the ERRORCODE to String with ASP.NET MVC5,

with ASP.NET MVC3 we can convert the error code to String using this code:

// Attempt to register the user
MembershipCreateStatus createStatus;

but with ASP.NET MVC5, it shows an error using the ErrorCodeToString because it is undefined.

Is there a new way?

New Edit :::::::::: this is enter image description here

Aucun commentaire:

Enregistrer un commentaire