如何使用Visual Studio 2012制作Crystal报表 [英] How to make Crystal report using Visual Studio 2012

查看:97
本文介绍了如何使用Visual Studio 2012制作Crystal报表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..



感谢您的种类责任。!!

任何人都可以使用Visual来帮助制作Crystal Report Studia 2012和Mysql服务器。



i是unalbe在2012年vs使用mysql服务器制作Crystal报告。



请发送完整密码



请帮助

解决方案

查看这些

SAP Crystal Reports,Microsoft Visual Studio的开发人员版本 - 2012现在可供下载 [ ^ ]

使用Crystal Reports的连接器/网络 [ ^ ]

How使用Visual Studio 2012在ASP.NET中使用Crystal Reports [ ^ ](Youtube视频)

如何使用C#和MySQL创建Crystal报表 [ ^ ]


 Public Sub loadlabe1()

Dim sql_Sel As String
Dim hIssId As Integer = 0
hIssId = Request.QueryString( patID

尝试

Dim rptDoc As New ReportDocument()
Dim DM As New DataManager
Dim Tbl As DataTable
Dim do c As New ReportDocument()

sql_Sel = exec RptOPIPCaseSheet @ Opt = 2,@ patID =& hIssId&
Tbl = DataManager.ExecuteScalarDS(sql_Sel,Me.SqlCon, RptIPCaseSheet
doc.Load(Server.MapPath( Reports \rIPLabLbl_A00001.rpt))
doc.SetDataSource(Tbl)
CrystLabl.ReportSource = doc

' doc.PrintOptions.PaperSize = PaperSize.PaperA4
'
doc。 PrintToPrinter( 1 ,False, 1 1
' crypt.PrintMode = PrintMode.ActiveX


'
FileName = Me.hRptType.Value + labe1Print + Request.QueryString( patID
' doc.ExportToDisk(ExportFormatType.PortableDocFormat,Server.MapPath(../ Print /+ FileName +。pdf))

Catch ex As Exception
labelmsg.Text = ex.ToString()

结束尝试

结束子


hi..

Thanks You for Kinds Of Responsce.!!
any person can help for Making Crystal Report, using Visual Studia 2012 and Mysql server.

i am unalbe to Make Crystal report in vs 2012 and Using mysql server.

Please Send Full code

please help

解决方案

Check these
SAP Crystal Reports, developer version for Microsoft Visual Studio - 2012 Now Available for Download[^]
Using Connector/Net with Crystal Reports[^]
How to use Crystal Reports in ASP.NET using Visual Studio 2012[^](Youtube video)
How to Create a Crystal Report using C# and MySQL[^]


Public Sub loadlabe1()

        Dim sql_Sel As String
        Dim hIssId As Integer = 0
        hIssId = Request.QueryString("patID")

        Try

            Dim rptDoc As New ReportDocument()
            Dim DM As New DataManager
            Dim Tbl As DataTable
            Dim doc As New ReportDocument()

            sql_Sel = "exec RptOPIPCaseSheet @Opt=2,@patID=" & hIssId & ""
            Tbl = DataManager.ExecuteScalarDS(sql_Sel, Me.SqlCon, "RptIPCaseSheet")
            doc.Load(Server.MapPath("Reports\rIPLabLbl_A00001.rpt"))
            doc.SetDataSource(Tbl)
            CrystLabl.ReportSource = doc

            'doc.PrintOptions.PaperSize = PaperSize.PaperA4
            'doc.PrintToPrinter(1, False, 1, 1)
            'crypt.PrintMode = PrintMode.ActiveX


            'FileName = Me.hRptType.Value + "labe1Print" + Request.QueryString("patID")
            'doc.ExportToDisk(ExportFormatType.PortableDocFormat, Server.MapPath("../Print/" + FileName + ".pdf"))

        Catch ex As Exception
            labelmsg.Text = ex.ToString()

        End Try

    End Sub


这篇关于如何使用Visual Studio 2012制作Crystal报表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆