lundi 2 février 2015

How to retrive Property Name using DisplayName?


public class DoctorInfo
{
[DisplayName("form1[0].P1[0].Physician-Name[0]")]
public string ProviderFullName { get; set; }
}


How can i get Property Name "ProviderFullName" programmatically if i have its DisplayName in hand?






Aucun commentaire:

Enregistrer un commentaire