Click here to Skip to main content
16,005,149 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Download Excel data Pin
Abhishek Sur1-Dec-09 3:13
professionalAbhishek Sur1-Dec-09 3:13 
GeneralRe: Download Excel data Pin
Mugdha_Aditya1-Dec-09 6:03
Mugdha_Aditya1-Dec-09 6:03 
GeneralRe: Download Excel data Pin
Abhishek Sur1-Dec-09 8:56
professionalAbhishek Sur1-Dec-09 8:56 
GeneralRe: Download Excel data Pin
Mugdha_Aditya1-Dec-09 17:49
Mugdha_Aditya1-Dec-09 17:49 
GeneralRe: Download Excel data Pin
Abhishek Sur1-Dec-09 21:32
professionalAbhishek Sur1-Dec-09 21:32 
GeneralRe: Download Excel data Pin
Mugdha_Aditya2-Dec-09 0:56
Mugdha_Aditya2-Dec-09 0:56 
GeneralRe: Download Excel data Pin
Abhishek Sur2-Dec-09 20:20
professionalAbhishek Sur2-Dec-09 20:20 
QuestionCrystal Report in Asp.net Pin
Udayaraju1-Dec-09 1:34
Udayaraju1-Dec-09 1:34 
Hi Dudes, Plz Solve these

I am trying to implement a sample report in asp.net using crystal reports10.0.
But i get an error of Object reference not set to an instance of an object
Here's my code

public void btn_Click(object sender, EventArgs e)
        {
            frmPreview Preview = new frmPreview();
            rptInformation Info = null;

            TableLogOnInfo logOnInfo = DBManager.getCrystalLogInfo(); //CorrectStatment
            Info = new rptInformation();

            Info.Database.Tables[0].ApplyLogOnInfo(logOnInfo); //Correct

            formulaFieldDefs = Info.DataDefinition.FormulaFields;

            formulaFieldDef = formulaFieldDefs["CompanyName"];
            formulaFieldDef.Text = "'" + Global.CompanyName + "'";

            Preview.crystalRptViewer.ReportSource = Info; //Error
             
        }


Here I placed CrystalReportViewer in frmPreview
AnswerRe: Crystal Report in Asp.net Pin
Abhishek Sur1-Dec-09 9:10
professionalAbhishek Sur1-Dec-09 9:10 
QuestionRe: Crystal Report in Asp.net Pin
Udayaraju1-Dec-09 18:21
Udayaraju1-Dec-09 18:21 
AnswerRe: Crystal Report in Asp.net Pin
Abhishek Sur1-Dec-09 21:40
professionalAbhishek Sur1-Dec-09 21:40 
Questionconnection string problem Pin
m@dhu1-Dec-09 0:36
m@dhu1-Dec-09 0:36 
AnswerRe: connection string problem Pin
Abhishek Sur1-Dec-09 0:47
professionalAbhishek Sur1-Dec-09 0:47 
AnswerRe: connection string problem [Modified] Pin
Dinesh Mani1-Dec-09 1:04
Dinesh Mani1-Dec-09 1:04 
GeneralRe: connection string problem Pin
m@dhu1-Dec-09 1:09
m@dhu1-Dec-09 1:09 
GeneralRe: connection string problem Pin
Dinesh Mani1-Dec-09 1:11
Dinesh Mani1-Dec-09 1:11 
GeneralRe: connection string problem Pin
m@dhu1-Dec-09 1:36
m@dhu1-Dec-09 1:36 
GeneralRe: connection string problem Pin
Dinesh Mani1-Dec-09 1:51
Dinesh Mani1-Dec-09 1:51 
GeneralRe: connection string problem Pin
The Man from U.N.C.L.E.1-Dec-09 2:08
The Man from U.N.C.L.E.1-Dec-09 2:08 
GeneralRe: connection string problem Pin
souidi abderrahman1-Dec-09 5:37
souidi abderrahman1-Dec-09 5:37 
GeneralRe: connection string problem Pin
S. Brozius1-Dec-09 2:11
S. Brozius1-Dec-09 2:11 
AnswerRe: connection string problem Pin
Vimalsoft(Pty) Ltd1-Dec-09 3:45
professionalVimalsoft(Pty) Ltd1-Dec-09 3:45 
QuestionUnable to serialize the session state when session mode is SqlServer Pin
Kuricheti1-Dec-09 0:20
Kuricheti1-Dec-09 0:20 
AnswerRe: Unable to serialize the session state when session mode is SqlServer Pin
Abhishek Sur1-Dec-09 0:40
professionalAbhishek Sur1-Dec-09 0:40 
GeneralRe: Unable to serialize the session state when session mode is SqlServer Pin
Kuricheti1-Dec-09 22:29
Kuricheti1-Dec-09 22:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.