Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
N

naren venkata yahoo com

@naren venkata yahoo com
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to get Confirmation message when i sent pdf as mail in asp.net
    N naren venkata yahoo com

    Hi,Thanks for reply, I am able to view message in other situations like inserting or updatating tables. I am unable to get message in this particular scenario,when i render a rdlc report into pdf. Regards, Naren

    ASP.NET help csharp asp-net tutorial

  • How to get Confirmation message when i sent pdf as mail in asp.net
    N naren venkata yahoo com

    Hi all, I am using Local reports(RDLC) for my reports in Asp.net I am have the following code in my button.I am able to send my pdf report as mail,and every thing is ok, But Problem is I am unable to produce a Confirmation message,like "Mail sent successfully".How could i change my code.Pls help me Very Urgent. Here it is skipping message.I am directly getting preview and sending mail. Private Sub BTN_ITCLETMAIL_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles BTN_ITCLETMAIL.Click Dim PrefAddrid As String = DDL_COMMUADDRS.SelectedValue Dim rep As LocalReport = ReportViewer2.LocalReport Dim Balmail As New Bal_EmailForm RegisNum = Trim(LblItcRegNum.Text) Dim conn As New SqlConnection(conString) Dim da As New SqlDataAdapter Dim ds As New ReportDataSource Dim row As GridViewRow = Nothing Dim Chkcount As Integer = 0 Dim intStatus As Integer ' ''For PDF Dim warnings As Warning() = Nothing Dim streamids As String() = Nothing Dim mimeType As String = Nothing Dim encoding As String = Nothing Dim extension As String = Nothing Dim bytes As Byte() Dim FolderLocation As String 'Dim FLAG_VIE_REPORT As String '' ==================== FolderLocation = Path.GetTempPath Dim filepath As String = FolderLocation & RegisNum & "ITCLetter.pdf" Try File.Delete(filepath) Session.Contents.Remove("Error") rep.ReportPath = System.AppDomain.CurrentDomain.BaseDirectory & "ReportRdlcs\ITCLetter.rdlc" Dim cmd As SqlCommand = New SqlCommand("RepGetOnlyAdderssDataForDemandLetter", conn) cmd.CommandType = CommandType.StoredProcedure cmd.Parameters.AddWithValue("@RegistrationNumber", RegisNum) cmd.Parameters.AddWithValue("@PrefContactAdderss", PrefAddrid) da.SelectCommand = cmd myDataSet.Clear() da.Fill(myDataSet, "RepGetOnlyAdderssDataForDemandLetter") ds.Name = "AddressDetforDemandLetter_RepGetOnlyAdderssDataForDemandLetter" ds.Value = myDataSet.Tables(0) rep.DataSources.Add(ds) Dim params(3) As Microsoft.Reporting.WebForms.ReportParameter Dim strDemStudName As String = Nothing strDemStudName = Trim(LBL_CLIENT.Text) Dim p1 As Microsoft.Reporting.WebForms.ReportParameter

    ASP.NET help csharp asp-net tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups