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

Can anybody say what is the progress in publishing the clerk 2010 interview results? I am from Kolkata and my interview date was on 27th of May...Another thing - what was the ratio of candidates per vacancy i.e. number of candidates called for each vacancy? Are B.Techs being avoided?

0 Answers  


hi i am preparing motor vehicle inspector(non-tech)in psc west bengal exam.If any body having old question papers send.My email id sidhu220654@yahoo.com.

3 Answers  


Sir- why after i choose A.c.m radar i cant see the target exept nere by 600 knots

0 Answers   Indian Air Force,


what is the locating and un locacating of bearing in pump

0 Answers  


what is the role of a insurance manager?

0 Answers   Reliance,


Haiiiiiiii every one..... now where we can get live projects in websites? plzzz tell me any one,, give me one site...its an urgent plzzzzz.

0 Answers  


lovers love it. friends need it. relationship start with it. and life ends with it.

0 Answers  


What is mean by CRT interview????

0 Answers   Baidu, Infosys,


Why does Google rank Wikipedia for so many topics? What are some challenges facing the SEO industry?

3 Answers  


Could you please give me brief details about Recruitment? 1---Organisation Chart 2---Requirement of persons in a company 3---Application Screening 4---Interview by HOD 5---Final Interview 6---Appointment Letter 7---Probation Period 8---Identification of trainning needs 9---Trainning provided 10--Assesment of training 11--Appraisal for completion of probation period 12--Confirmation

0 Answers  


is there more probability to turn to hardware companies after wqorking in software companies?

1 Answers  


sir i have selected in cbec at post of tax assistant my nomination hasn't done yet in cr region when the posting/joining will be held? ?

0 Answers   Baidu,


Categories