public Datatype() { DataTypelist list = new DataTypelist(); list.type = "Varchar"; datatypelist.Add(list); list = new DataTypelist(); list.type = "int"; datatypelist.Add(list); list = new DataTypelist(); list.type = "Text"; datatypelist.Add(list); list = new DataTypelist(); list.type = "boolean"; datatypelist.Add(list); list = new DataTypelist(); list.type = "Date"; datatypelist.Add(list); ///////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// controls cont = new controls(); cont.type = "Text"; controllist.Add(cont); cont = new controls(); cont.type = "Radio Button"; controllist.Add(cont); cont = new controls(); cont.type = "Check Box"; controllist.Add(cont); cont = new controls(); cont.type = "DropdownList"; controllist.Add(cont); }