if(!string.IsNullOrEmpty(this.txtStudentName.Text))
{
var text = ((int)Enum.Parse(typeof(ENUMTYPE),this.txtStudentName.Text)).ToString();
}

if(!string.IsNullOrEmpty(this.txtStudentName.Text))
{
var text = ((int)Enum.Parse(typeof(ENUMTYPE),this.txtStudentName.Text)).ToString();
}
