I want to display xml file using asp.net with c#...
Thank u....
Try this
protected void Page_Load(object sender, EventArgs e) { Response.ContentType = "application/xml"; Response.WriteFile(Server.MapPath("~/Customers.xml")); Response.End(); }
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.