tbAdmin admin=db.tbAdmin.FirstOrDefault(); Type type = admin.GetType(); var obj = Activator.CreateInstance(type);