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

What is SEO(Search Engine Optimization)?

0 Answers  


when sbi is likely to declare final result for clerk exam. my interview was held on 28 apr 10.

0 Answers  


can anyone tell me how many time it takes in sbi clerk interview?? plz answer me in my id thats ravi.tamta007@gmail.com thanks

0 Answers  


hi does any one know about " multilabs india "..i got job offer in that company through backdoor process..But im afraid to join in backdoor,..please tell me about multilabsindia ..shall i join or not ??

0 Answers  


can u send me bank po and bank clerk examination papers

0 Answers  


how to count pelindrome word from string???? give answer in c language!!!!

0 Answers  


What is the difference between legal and organisational?

0 Answers  


i have tested one module at the i found one defect for it. it is fixed by developer but i want to know the impact of these defect on other module which has dependency on defect found module. Other than regression how we will use best practice for to find any impact on other module as it's near to deadline for testing

0 Answers  


how can i get to 1000 using 5 9s

1 Answers  


is it better to stand-up than to sit-up?

1 Answers  


SBI ASSOCIATE BANK CLERICAL.

1 Answers   State Bank Of India SBI,


i am getting different answers as far as the height of the " sri gomateshwara " statue , at shravanabelagola. i had read long back during my school days , as 57ft. but i am seeing now as 55', 3 mts etc. which is correct. pl guide me?

0 Answers  


Categories