Export Data to QIF Format using Asp.net

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]);
URL Rewriting in ASP.NET

URL Rewriting in ASP.NET

Dynamic Url ReWriting ShowAllData.aspx-------------------------------------
ShowAllData.aspx.cs---------------------------------- protected void Page_Load(object sender, EventArgs e) { if(IsPostBack==false) { dtlstproducts.DataSource = GetProductDataTable(); dtlstproducts.DataBind(); //Response.Redirect("ShowAllData"); } }
Ajax CalendarExtender Example In Asp.Net

Ajax CalendarExtender Example In Asp.Net

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Ajax Calendar extendar control exmaple in asp.net</title> </head> <body> <form id="form1" runat="server"> <ajax:ToolkitScriptManager ID="toolkit1" runat="server"></ajax:ToolkitScriptManager> <table>…
Difference between Response.Redirect and Server.Transfer

Difference between Response.Redirect and Server.Transfer

Response.Redirect Response.Redirect() will send you to a new page, update the address bar and add it to the Browser History. On your browser you can click back. It redirects the request to some plain HTML pages on our server or to some other web server. It causes additional roundtrips to the server on each request. It doesn’t preserve Query String and Form Variables from the original request. It enables to see the new redirected URL where it is redirected in the browser (and be able to bookmark it if it’s necessary). Response. Redirect simply sends a message down to the (HTTP 302) browser.