Torna al Thread

Public Partial Class Menu Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load End Sub Protected Sub lnkbtn_s_int_Click(ByVal sender As Object, ByVal e As EventArgs) Handles lnkbtn_s_int.Click Dim FileName As String = Modello_foglio_intervento.dotx Dim path as string = C:\Lavoro\EG Consulting\Preventivi\Modello_foglio_intervento.dotx Response.Clear(); Response.Buffer = true; Response.ContentType = "application/vnd.ms-word"; Response.TransmitFile(path); Response.End(); End Sub End Class
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5