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 |
What is SEO(Search Engine Optimization)?
when sbi is likely to declare final result for clerk exam. my interview was held on 28 apr 10.
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
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 ??
can u send me bank po and bank clerk examination papers
how to count pelindrome word from string???? give answer in c language!!!!
What is the difference between legal and organisational?
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
how can i get to 1000 using 5 9s
is it better to stand-up than to sit-up?
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?