c# - make a structure for generating custom form -
i developing learning management system asp.net c# want make structure generating university forms , these forms may change in future or need new forms , want make structure admin of website generate custom forms without coding, admin add name of feilds , type of ( text box or checkbox , ... ) , should printable , admin can add explanation in diffrent part of form... dont know how should ?
is there api or idea ?
you make clases form controls like: inputbox, textbox, checkbox, radiobutton. form class contain lists of input controls.
class forminputcontrol { public string description { get; set; } //every form input has description user, link, want form input control instance describe public abstract object value { get; set; } } class inputbox : forminputcontrol { public string text { get; set; } public overwrite object value { { return text; } set { text = value string; } } } class form { public ilist<forminputcontrols> { get; set; } }
Comments
Post a Comment