Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Report Viewer



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

Post New Answer

More Everything Else AllOther Interview Questions

Is there any method (like format and font type,font size) to prepare the documents in pharma or biotech companies?

0 Answers  


name the river originating from trimbak platue in maharashtra?

2 Answers   ESIC,


3.what goals do you have in your career?

0 Answers   British Airways,


Sir I m doing US based CFA. and I m MBA Finance from Gujarat University. I have 3 years of accounting cum Audit experience in India and Dubai. How this can help me to have US Visa. Means what is more required to apply for the employment Visa. Please reply me. Means which type of Employment Visa can I have good support.. Please reply me. What is still needed for my eligibility. for the same.

0 Answers  


Can you balance rural urban divide in education?

0 Answers  


what is the shortkey of print preview in M.S. EXCEL?

0 Answers  


if we give you less salary than your preivous job will you accept?

3 Answers  


Iam 27 Year old,and iam a graduate, kindly specify what entrance exams will be eligible to write in Andhra Pradesha and All India level

0 Answers  


I have complited EEE, I like to work only automobile company side only. what i need to do...? please help me

0 Answers  


let me know by some one about Two bus scheme in switchyard relatedd to power plants

0 Answers  


make a suitable word from U I D N V H S E

1 Answers  


i need all HR related question and answers for 1 MNC company interview

2 Answers   Johnson and Johnson, WNS,


Categories