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

1.difference between activity and task 2.difference between repllication and realignment in crm 3.can we creeat business partner category 4. what is the rule of organisational determination 5. what is mapping. and how its is done

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 are the difference between elecric and electronic?

0 Answers  


Hi, i have been selected for abhyudaya clerk interview but dont have the application print out. Will i be allowed for interview?

0 Answers   Banking,


why do you the aviation?

1 Answers  


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

2 Answers   Johnson and Johnson, WNS,


how can get early watch report on sap 4.7

0 Answers  


Why u have selected this company to join?

0 Answers   Google,


how many languages are listed in the 8th schedule of the indian constitution?

0 Answers  


difference between visa and pssport . what are general rules to get those( how to aplly for it)?

0 Answers  


Did anyone got appointment letter of syndicate bank? if yes, please share the details like how much time they are giving for joining,place of posting is also given or nt,place of training is where etc etc. plz share to end the thousands of curosity.....

1 Answers  


Mention the major produce of Mexico

0 Answers  


Categories