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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the equivalence classes for the pairs (1,1) and (3,4)?

2074


Recently i applied to nz for student visa but i wsnt able to convince visa officer nd now i hve applied again to nz,,i hv certain queries regarding interview plz guide me hw to ansr them all..my queries r... visa officer asked ME why u waited for 5 years after b Com, ( i attaced experience as accountant for 5 years) why only diploma in IT businss IT, hw it relates to ur bcom qualificaition, whe nz only rather do it in india(wt shld i anwr here), why this institute, wht r ur long term plans, wt r future plans, wht wil u do aftr completing study(i said i wl find job anywhere in world bt visa officer ws nt satisfied),

2581


how do i begin my interview with a manufacturer to earn their transportation business ?

2055


12.05 x 5.4 Õ 0.3 = ? (a)108.55 (b)216.90 (c)118.45 (d)118.55 (e)None of these

2759


What is the joining Date of SBI Cleark 2010

2257


how to configure squirrel mail in rhel5???? guide step by step

3237


the key persons of jallianwalla bagh massacre? who rendered vishnu sahasranamam in the form of casettes? which associate bank of sbi already merged n wich is going to merge? founder of andhra bank? reasons for selecting the banking sector?

2070


what is the cutoff marks in bank po exam to get to be selected?

2032


tricks to handle the customer or client in sap, specifically when he is negative for particular business requirement

2154


Which is the best 3g internet plan for unlimited downloads with a speed of 3.1 mbps and after usage of data given for a month we get 256kbps .haryana state plans prefered

1913


Why you want to come in Marketing although you have done your MBA in Finance?

2087


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

2357


why you want to quit your current job?

2106


i want andhra bank po previous solved papers

1944


what is stand for PPPP?

1969