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

rupee is non convertible. Explain.

0 Answers  


hello freinds, i have done M.C.A this year. can anybody tells me what is the diffrence between on role and off role jobs in a telecome company & what is the salary diff. of these roles. are software companies also hire employees on onrole & off role ???????????/

0 Answers  


Can anybody give good full form for VAK. Plz....

1 Answers  


why do you choose to leave the present job before you get another one ?

0 Answers  


how to ezee boiler effecincy formula? \and saw dust c.v dry&wet.pl.type

0 Answers  


studying microwave office software what can i do?

0 Answers   HGS,


how do we calculate water consumption for brick work , plaster,land scaping and emergency for new commercial project

0 Answers   L&T,


Hey I am working as Trackman in Railways with Basic of 7610 and I have been selected as a clerk in one of Nationalised bank. Should I continue with the Railways or I should joing Bank as clerk?

0 Answers  


Tell something about yourself?

15 Answers   HCL, IBM, Steria,


Can someone please give me contact details of Mr Chanchal Saxena. He has previously given advice on SAP as a career

0 Answers   Private,


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

0 Answers  


what is the full form of WNS , a BPO?????????

15 Answers   Infosys, WNS, World Networking Services,


Categories