Report Viewer
Answer / santro
/*Reportviewer.aspx.cs*/
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using CrystalDecisions.CrystalReports;
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;
public partial class ReportViewer : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
ReportDocument rptDrug = new ReportDocument();
string path = Server.MapPath("~");
path = path + "\\rptDrugNames.rpt";
rptDrug.Load(path);
TableLogOnInfo logoninfo = new TableLogOnInfo();
/*Here we are assinging the servername,user name
and password to the TableLogonInfo Object*/
logoninfo.ConnectionInfo.ServerName = "localhost";
logoninfo.ConnectionInfo.UserID = "sa";
logoninfo.ConnectionInfo.Password = "sasa";
/* Applaying the TableLogOnInfor object to report
object.*/
rptDrug.Database.Tables[0].ApplyLogOnInfo
(logoninfo);
/*Setting the report source to Crystal Report
viewer control*/
CrystalReportViewer1.ReportSource = rptDrug;
CrystalReportViewer1.DataBind();
}
}
/*ReportViewer.aspx
click form crystal reports
crystal reportviewer*/
| Is This Answer Correct ? | 0 Yes | 0 No |
hi sir, my name is vijay reddy.i have some doubts. 1) how much u r taking fees for groupII. 2) What is cost of groupII material. 3) your current address.right now i am staying at YOUSUFGUDA
hi all.i have cleared the deccan grameena bank clerk written can anyone send me some interview questions.thanks 2 all
What kind of salary you are expecting from our organization? How can we tell amount of salary in the case of different companies.?
Hi, I am Jafar Ansarsi, I have total 13+ yrs of Exp in IT(Oracle,PL/sql,Developer,Discovere etc) Field,along with Exp in Operation,Manufacturing,Logistics & HRMS. I have worked on Basically 'ORION' Product of 3i-Infotech. with UAE exp, looking for good job in ERP either ORACLE or same ORION Product. if anyone have something pls let me know at ansari.jafar.3i@gmail.com
WHO IS CONSIDERED AS THE GREATEST OF ALL THE VIJAYNAGAR RULERS
during whose reign did the marathas reach maximum expansion
I have done MBA(Finance & Mktng) back in 2009 and then join the BPO backend process for 1 year and done sap sd and now i m lkking for the sap sd or mba job ..please reply fast at lalit.chitkara@gmail.com if you have any suggestion...i need job immediatly...
What do you think about link buying?
what are the different types of mergers ?
Pharma Quality Assurance Interview Questions.
4 Answers Ankur Drugs Pharma, Aurobindo, Biocon, Dr Reddys, Glochem, Process Industries, Ranbaxy, Reddy Labs, Unilab, Yeluri Formulations,
introduce yourself? what is the perfect way to introduce ourselves..
how to calculate sensex and nifty.sensex contains 30 companies and nifty 50.so how is sensex value more than nifty