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

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

0 Answers  


hi all.i have cleared the deccan grameena bank clerk written can anyone send me some interview questions.thanks 2 all

2 Answers  


What kind of salary you are expecting from our organization? How can we tell amount of salary in the case of different companies.?

0 Answers  


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

0 Answers  


WHO IS CONSIDERED AS THE GREATEST OF ALL THE VIJAYNAGAR RULERS

0 Answers  


during whose reign did the marathas reach maximum expansion

1 Answers  


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...

0 Answers  


What do you think about link buying?

0 Answers  


what are the different types of mergers ?

0 Answers  


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..

1 Answers  


how to calculate sensex and nifty.sensex contains 30 companies and nifty 50.so how is sensex value more than nifty

0 Answers  


Categories