Click here to Skip to main content
15,920,688 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: read image from excel file.... Pin
mohankatari20-Jan-08 19:59
mohankatari20-Jan-08 19:59 
GeneralRe: read image from excel file.... Pin
pradeep kumarappagari20-Jan-08 20:36
pradeep kumarappagari20-Jan-08 20:36 
GeneralRe: read image from excel file.... Pin
mohankatari20-Jan-08 22:13
mohankatari20-Jan-08 22:13 
GeneralRe: read image from excel file.... Pin
pradeep kumarappagari20-Jan-08 22:28
pradeep kumarappagari20-Jan-08 22:28 
GeneralIN CRYSTAL REPORT OUTPUT EACH RECORD APPEARS 3 0r 4 TIMES REPEATING Pin
mavii20-Jan-08 4:37
mavii20-Jan-08 4:37 
AnswerRe: IN CRYSTAL REPORT OUTPUT EACH RECORD APPEARS 3 0r 4 TIMES REPEATING Pin
mohankatari20-Jan-08 19:27
mohankatari20-Jan-08 19:27 
GeneralRe: IN CRYSTAL REPORT OUTPUT EACH RECORD APPEARS 3 0r 4 TIMES REPEATING Pin
mavii20-Jan-08 21:33
mavii20-Jan-08 21:33 
GeneralRe: IN CRYSTAL REPORT OUTPUT EACH RECORD APPEARS 3 0r 4 TIMES REPEATING Pin
mohankatari21-Jan-08 0:18
mohankatari21-Jan-08 0:18 
Hi,

I worked in Web application but I think both are the same. The procedure which I did in Web Applications is:

1) First in the ASPX Page gave the required Text boxes which will give input to Stored Porcs. Upon submitting the Page I will redirect to new ASPX Page which will Display only Crystal Reports. This is because if we keep any other fields like Textboxes there will be a problem which I don't know exactly.

2) In the Second Page I will just have Crystal Reports Viewer(CRViewerPortfolioReports) and Crystal Reports Source(CRSourcePortfolioReportsWink | ;) .
On Page Load the below code has to be written

int Portfolio_ID = int.Parse(Request.QueryString.Get("Portfolio_ID"));
//Portfolio_ID Input Parameter for Stored Procedure.
string ReportName = "CRPortfolioReports.rpt";
string ReportPath;
ReportPath = Server.MapPath("../CrystalReportFiles/") + ReportName;
//ReportPath Location of the CRYSTAL REPORT
CRSourcePortfolioReports.ReportDocument.Load(ReportPath);
CRSourcePortfolioReports.ReportDocument.SetDatabaseLogon(USERNAME, PASSWORD);
CRSourcePortfolioReports.ReportDocument.SetParameterValue("@IMRsPerPortfolio_PortfolioID", Portfolio_ID);
//@IMRsPerPortfolio_PortfolioID STORED PROCEDURE INPUT PARAMETER
//IF you want to add another Input Parameter DATE...
//CRSourcePortfolioReports.ReportDocument.SetParameterValue("@IMRsPerPortfolio_DATE", //DATE);
CRViewerPortfolioReports.ReportSource = CRSourcePortfolioReports;

CRViewerPortfolioReports.DataBind();

3) Building the CRYSTAL REPORT .rtp FILE
Add New Crystal Report File and create a new Database connection and add the Stored Procedure developed. You will automatically get the Input Parameters and Output Parameters which you could automatically map to X or Y Cordinates. Like if @IMRsPerPortfolio_PortfolioID id INPUT Parameter it will be coming in Parameters Field of Field Explorer Tab.
QuestionProblem with IIS. Pin
mohankatari20-Jan-08 0:09
mohankatari20-Jan-08 0:09 
GeneralRe: Problem with IIS. Pin
Christian Graus20-Jan-08 2:46
protectorChristian Graus20-Jan-08 2:46 
GeneralRe: Problem with IIS. Pin
mohankatari20-Jan-08 19:31
mohankatari20-Jan-08 19:31 
GeneralStill tryin Pin
learningman19-Jan-08 7:26
learningman19-Jan-08 7:26 
GeneralRe: Still tryin Pin
Christian Graus20-Jan-08 5:31
protectorChristian Graus20-Jan-08 5:31 
GeneralRe: Still tryin Pin
learningman20-Jan-08 10:36
learningman20-Jan-08 10:36 
GeneralRe: Still tryin Pin
learningman20-Jan-08 11:41
learningman20-Jan-08 11:41 
GeneralRe: Still tryin Pin
Michael Sync21-Jan-08 4:54
Michael Sync21-Jan-08 4:54 
Generalcustom paging in gridview in asp.net 2.0 Pin
dotnet.coder19-Jan-08 4:35
dotnet.coder19-Jan-08 4:35 
GeneralRe: custom paging in gridview in asp.net 2.0 Pin
Abhijit Jana19-Jan-08 23:15
professionalAbhijit Jana19-Jan-08 23:15 
GeneralCSS Hover Pin
new2pgrmg19-Jan-08 4:20
new2pgrmg19-Jan-08 4:20 
GeneralRe: CSS Hover Pin
#realJSOP19-Jan-08 4:37
professional#realJSOP19-Jan-08 4:37 
GeneralRe: CSS Hover Pin
Trustapple19-Jan-08 4:52
Trustapple19-Jan-08 4:52 
GeneralRe: CSS Hover Pin
#realJSOP19-Jan-08 7:07
professional#realJSOP19-Jan-08 7:07 
GeneralRe: CSS Hover Pin
chaiguy133720-Jan-08 15:25
chaiguy133720-Jan-08 15:25 
GeneralRe: CSS Hover Pin
Trustapple20-Jan-08 16:36
Trustapple20-Jan-08 16:36 
GeneralUser management [modified] Pin
#realJSOP19-Jan-08 3:10
professional#realJSOP19-Jan-08 3:10 

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.