'宣言
Public Property CharacterSet As HtmlCharacterSet
public HtmlCharacterSet CharacterSet {get; set;}
'宣言
Public Property CharacterSet As HtmlCharacterSet
public HtmlCharacterSet CharacterSet {get; set;}
private void btnExport_Click(object sender, System.EventArgs e) { SectionReport1 rpt = new SectionReport(); GrapeCity.ActiveReports.Export.Html.Section.HtmlExport h = new GrapeCity.ActiveReports.Export.Html.Section.HtmlExport(); h.CharacterSet = GrapeCity.ActiveReports.Export.Html.Section.HtmlCharacterSet.Big5; rpt.Run(); this.arv.Document = rpt.Document; h.Export(rpt.Document, Application.StartupPath + "\\h.html"); }
Private Sub Viewer1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Viewer1.Load Dim rpt As New SectionReport1 rpt.Run() Me.Viewer1.Document = rpt.Document Dim h As New GrapeCity.ActiveReports.Export.Html.Section.HtmlExport h.CharacterSet = GrapeCity.ActiveReports.Export.Html.Section.HtmlCharacterSet.Big5 h.Export(rpt.Document, Application.StartupPath + "/export.html") End Sub