ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Everything Else  >>  Everything Else AllOther
 
 


 

 
 Energy Oil Gas interview questions  Energy Oil Gas Interview Questions
 Teaching interview questions  Teaching Interview Questions
 Funny Interview Questions interview questions  Funny Interview Questions Interview Questions
 Everything Else AllOther interview questions  Everything Else AllOther Interview Questions
Question
Report Viewer
 Question Submitted By :: Santro
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Report Viewer
Answer
# 1
/*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
Santro
 

 
 
 
Other Everything Else AllOther Interview Questions
 
  Question Asked @ Answers
 
what is hexakosioihexekontahexaphobic ?  2
I have only four months exp in banking field.. but i am searching for a better job.. in interview they are asking, what is the reason for changing the job so soon. the reason is to get high pay.. but if i tell like that.. they will not select me..so i want the best answer for this.. i am keep on searching for a better job.. so please me.. right now i am getting 6000rupees in HDFC BANK.. but i am expecting above 9000rupees.. so please help me to get a good job with a good pay.. FirstSource1
Lovers love it...... Friends need it.... Relationship starts with it... Life ends with it..... Whats is it....  9
i m studing in b.e in thrd year..but i have a 4year gap.. if a interviewer asked about my 4 year gap,, what is my answer?????????????? IBM2
Tell me something which is not in your resume or CV Deloitte1
what is your greatest weak ness?  2
do u know about insurance? Reliance2
last month i attend for an inreview in indus ind bank ltd,iterviewer asked me tell something about ur self i have told him about my present job&responsibilities my education and my family back ground he told me iam not maintain hierarchy u please tell me how to answer to tell something about ur self in a perfect way Call-Centre2
what do you think of your previous boss?  2
how much you will be paid for the job of clerk in STATE BANK OF INDIA..? are you satisfied with it...? what are the chances of revision in salary..? what are the prospects for promotion..? SBI11
What is the %age criteria of L&T company.My details as follows: In 10(ICSE) :64% In 10+2(ISC) : 62% In BSc(Physics,Mathematics and Statistics) : 56% In MCA : I Sem : 62% II Sem : 63% L&T1
who said english is easy ? fill this blanks with yes or No..... 1._______________ i don't have a brain. 2._______________ I don't have sense. 3. _______________ i am stupid. Try to fill . all the best  7
tell me about you? That what is your qualification, your family background, what is your likings, what you are looking now?  3
Who has told "Wedo Ki Or Lout Chalo"? RRB6
whats wrong with your current job?  1
What is VaR. What is the importance of it in the stock market Capital-IQ4
what is called time management skills IndusInd-Bank1
Login Screen  1
what is your strong point?  4
Which plants(Tree) or which type of plants give us maximum o2 than it takes. day/night ratio max.  1
 
For more Everything Else AllOther Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com