Crystal report????????

Posted by Sabarimahesh under C# on 4/3/2012 | Points: 10 | Views : 1062 | Status : [Member] | Replies : 3
Hi Friends

AnyBody Want to know about Crystal report ?????

Please Check The Following link

http://www.aspdotnet-suresh.com/2012/01/crystal-reports-sample-in-aspnet.html

Anybody Wellknow in CrystalReport...

Please Kindly inform the tips and Links

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M



Responses

Posted by: Naraayanan on: 7/10/2012 [Member] Starter | Points: 25

Up
0
Down
Hi,
Thanks.

Regards,
Lakshmi Naraayanan.S
http://dotnettechrocks.blogspot.in/
http://abaprocker.blogspot.com/

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ranjeet_8 on: 7/10/2012 [Member] [MVP] Gold | Points: 25

Up
0
Down
thnx Sabari Mahesh
gud job.

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sajeev_M87 on: 12/11/2012 [Member] Starter | Points: 25

Up
0
Down
This is the code for crystl reports .. we can pass the parameter ..
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;
String printer = "";
try
{
printer = ConfigurationManager.AppSettings.Get("Printer");
}


String path = "";
ReportDocument rptdoc = new ReportDocument();
ConnectionInfo info = new ConnectionInfo();
info = clsConnection.GetConnectionInfo();
ParameterFields paramFields = new ParameterFields();
ParameterField pfItemYr = new ParameterField();
ParameterDiscreteValue dcItemtransid = new ParameterDiscreteValue();
path = "reports/name.rpt";
rptdoc.Load(Server.MapPath(path));
clsConnection.ConfigureLogonInfo(rptdoc, info);
pfItemYr.ParameterFieldName = "@id";
dcItemtransid.Value = id;
pfItemYr.CurrentValues.Add(dcItemtransid);
paramFields.Add(pfItemYr);
rptdoc.SetParameterValue("@transid", transid);
rptdoc.Load(Server.MapPath(path));
//If no printer name is given, report will be printed to default printer
//rptdoc.PrintOptions.PrinterName = printer;
//rptdoc.PrintToPrinter(1, true, 0, 0);
invoiceviewer.ReportSource = rptdoc;

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response