Dim cryRpt As New ReportDocument()
cryRpt.FileName = "C:\Users\RAJESH\Desktop\WebSite1\CrystalReport.rpt"
'even Load also will work :
'cryRpt.Load("C:\Users\RAJESH\Desktop\WebSite1\CrystalReport.rpt")
For Each CrTable As CrystalDecisions.CrystalReports.Engine.Table In cryRpt.Database.Tables
CrTable.LogOnInfo.ConnectionInfo.ServerName = "IBM\SFT"
CrTable.LogOnInfo.ConnectionInfo.DatabaseName = "GpsMelissaDPS"
CrTable.LogOnInfo.ConnectionInfo.UserID = "sa"
CrTable.LogOnInfo.ConnectionInfo.Password = "mumbaisaibm"
CrTable.ApplyLogOnInfo(CrTable.LogOnInfo)
Next
CrystalReportViewer1.ReportSource = cryRpt
CrystalReportViewer1.RefreshReport()
Wednesday, October 20, 2010
Subscribe to:
Post Comments (Atom)
Vercel Mongo Integration
Click continue Press “I Acknowledge” Multiselect vercel projects Click “ “Connect and ...
-
http://www.sommarskog.se/share_data.html How to Share Data Between Stored Procedures An SQL text by Erland Sommarskog, SQL Server MVP. M...
-
Most of the google tutorials on keras do not show how to display a confusion matrix for the solution. A confusion matrix can throw a clear l...
-
This error means you have created the DbContext but not configured/added it to the project using either DI in startup.cs or by using DbCon...
No comments:
Post a Comment