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 |
Which is the World’s Warmest Sea?
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? ?
what is the detail profile of a financial consultant in HDFC standard life insurance co. ltd
WHICH COUNTRY PRIME MINISTER WAS INVITED AS THE CHIEF GUEST AT THE REPUBLIC DAY PARADE IN NEW DELHI, 2012 ? (A) THAILAND (B) AUSTRALIA (C) RUSSIA (D) PAKISTAN
12.05 x 5.4 Õ 0.3 = ? (a)108.55 (b)216.90 (c)118.45 (d)118.55 (e)None of these
How is it that I do not receive email from a regular sender on the first or second attempts but do on the third with no change in the subject or text.
Financial year start from which month and ends in which month? Academic year start from which month and ends in which month? Calender year start from which month and ends in which month?
This question is from administrator of Allinterview.com. OPnce you don't have answer to any silly question, why you ugly fellows, push your leg everywhere.
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
which items are in demand from india to europe , america ,uk and rest of world?
hello frnds i m nishant i want to know about reebok instructor certificate course should i do it what are the job opportunities is there any educational qualificatin criteria i m 12th passout plz frnds reply me soon
I AM A 8 LETTER INDIAN PLACE. LAST 4 LETTERS IS THE FIRST NAME OF A LADY TENNIS PLAYER. 4,5,6 LETTERS IS USED TO CARRY GOODS AND PASSENGERS. 6,5,7,2,3 IS A HILL STATION.