I want to render view at runtime based on fields returned from Database. Any help should be appreciated, for designing the prototype / approach
I have below model,
public class DynamicFields
{
public string propertyName { get; set; }
public string propertyType { get; set; }
}
In Controller, it will be List<DynamicFields>
So based on propertyType, i have to render the control like TextBox/DateTime