How to Create Profile Property through Coding in DNN

//Here 'Level' is the name of profile property if (DotNetNuke.Entities.Profile.ProfileController.GetPropertyDefinitionByName(this.PortalId, "Level") == null) { DotNetNuke.Entities.Profile.ProfileController.AddPropertyDefinition( new DotNetNuke.Entities.Profile.ProfilePropertyDefinition(this.PortalId) { PropertyName = "Level", DataType = 10, PropertyCategory="Level", Length=100, Visible=true }); } //Here…

Export Data to QIF Format using Asp.net

we required QifApi.dll for exporting to QIF format , the below code is exporting to basic transaction format Download Dll protected void btnQIF_Click(object sender, EventArgs e) { Response.ContentType = "application/qif"; Response.AddHeader("content-disposition", "attachment;filename=PurchaseOrderDetails.qif"); Response.Cache.SetCacheability(HttpCacheability.NoCache); StringWriter sw = new StringWriter(); HtmlTextWriter hw = new HtmlTextWriter(sw); GridView gridview1 = new GridView(); gridview1.AllowPaging = false; //This GetOrders method returns all records from Database which Contain Various Columns DataSet ds = objOrderRegistratonController.GetOrders(); DataView view = new DataView(ds.Tables[0]);