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

Interviewer: This is a phone/pen. How you will sell this item to me?

0 Answers  


if i purchased goods worth rs. 100000/- and paid rs. 12500/- as local vat and transferred the same goods to my branch in other state against form `f` which amount we claim in my local vat return or can we adjust the 12500/- with my other output taxes create with other sales

0 Answers  


what is the age limit of BC A-5 women category

0 Answers  


how can u catch the bull by the horn

0 Answers   IAS,


why do flower pots have holes in the bottom?

1 Answers   HDFC,


Hi Friends, I am going to appear for Central Bank of India's Probationary officers test.Kindly forward if u have the sample papers my ID id is ramya_0922@yahoo.in.Please help me friends... Regards, Ramya

0 Answers   Central Bank of India,


I have given my B.O.B Interview on 14/01/10 @ delhi. Could anyone tell me when would be the results declared? pls post if anyone is seleted.

0 Answers   Bank of Baroda,


1. I'm just S.S.L.C I don't have UG completion... But l want to study PG in M.Com or any fine arts in PG, Is it possible..., If possible please tell me which university can i apply,,, is that University in Chennai ?.

0 Answers  


Sir..which one is better of the two? Auditor or Bank P.O.. Please favour me here..

0 Answers  


what environmental performance criteria are used in your company

0 Answers  


Login Screen

1 Answers  


i want to b join intellegence bueru for acio grade2 i graduction for b.a kya mai ib join kar sakta ho palese give a answera

0 Answers  


Categories