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

ASP.NET

 
AnswerRe: Passing values through header Pin
Guffa11-Oct-07 20:49
Guffa11-Oct-07 20:49 
QuestionParameters for a Windows service through ASP.net Pin
sabby200611-Oct-07 19:50
sabby200611-Oct-07 19:50 
AnswerRe: Parameters for a Windows service through ASP.net Pin
John-ph11-Oct-07 22:02
John-ph11-Oct-07 22:02 
QuestionExport To Excel Pin
yogesh_kumar_agarwal11-Oct-07 19:50
yogesh_kumar_agarwal11-Oct-07 19:50 
AnswerRe: Export To Excel Pin
N a v a n e e t h11-Oct-07 20:14
N a v a n e e t h11-Oct-07 20:14 
AnswerRe: Export To Excel Pin
John-ph12-Oct-07 0:00
John-ph12-Oct-07 0:00 
AnswerRe: Export To Excel Pin
shanthivasan12-Oct-07 1:45
shanthivasan12-Oct-07 1:45 
QuestionExport to excel from crystal reports Pin
MissionSuccess11-Oct-07 19:48
MissionSuccess11-Oct-07 19:48 
Respected Gurus

I am developing in asp.net1.1 and crystalreports.

I have some reports,developed in crystal reports which i have to export to excel.



Public Sub exportfinalreport()
Dim oStream As New MemoryStream ' // using System.IO
'this contains the value of the selected export format.
showfinalreport(dtReportdate)
oStream = rpt.ExportToStream(CrystalDecisions.Shared.ExportFormatType.Excel)
Response.Clear()
Response.Buffer = True
Response.ContentType = "application/vnd.ms-excel"
Try
Response.BinaryWrite(oStream.ToArray())
Response.End()
Catch err As Exception
Response.Write("< BR >")
Response.Write(err.Message.ToString)
End Try
End Sub


The above code successfully export data to excel.

But problem is look and feel.
Data in excel does not come under their corresponding headers,
which creates confusion.

Is there a better way to export to excel with a good look and feel.
QuestionProblem with SQL Server [modified] Pin
prasannaboga11-Oct-07 19:38
prasannaboga11-Oct-07 19:38 
AnswerRe: Problem with SQL Server Pin
Imran Khan Pathan11-Oct-07 19:53
Imran Khan Pathan11-Oct-07 19:53 
Questionhow to create a dll Pin
Mri1a11-Oct-07 19:27
Mri1a11-Oct-07 19:27 
AnswerRe: how to create a dll Pin
Sandeep Akhare11-Oct-07 19:57
Sandeep Akhare11-Oct-07 19:57 
QuestionSql Exception Pin
Mogha Ritesh11-Oct-07 19:24
Mogha Ritesh11-Oct-07 19:24 
AnswerRe: Sql Exception Pin
N a v a n e e t h11-Oct-07 20:06
N a v a n e e t h11-Oct-07 20:06 
QuestionUser Control to DLL Pin
Sudhir Yadav11-Oct-07 19:13
Sudhir Yadav11-Oct-07 19:13 
AnswerRe: User Control to DLL Pin
N a v a n e e t h11-Oct-07 19:17
N a v a n e e t h11-Oct-07 19:17 
GeneralRe: User Control to DLL Pin
Sudhir Yadav11-Oct-07 19:23
Sudhir Yadav11-Oct-07 19:23 
Generaldll Pin
Mri1a11-Oct-07 19:59
Mri1a11-Oct-07 19:59 
GeneralRe: dll Pin
Sandeep Akhare11-Oct-07 20:02
Sandeep Akhare11-Oct-07 20:02 
GeneralRe: User Control to DLL Pin
N a v a n e e t h11-Oct-07 20:03
N a v a n e e t h11-Oct-07 20:03 
GeneralRe: User Control to DLL Pin
Sudhir Yadav11-Oct-07 23:08
Sudhir Yadav11-Oct-07 23:08 
AnswerRe: User Control to DLL Pin
John-ph11-Oct-07 23:49
John-ph11-Oct-07 23:49 
GeneralRe: User Control to DLL Pin
Sudhir Yadav14-Oct-07 15:24
Sudhir Yadav14-Oct-07 15:24 
QuestionLosing position of the control at run time. Pin
mukesh.mr0311-Oct-07 18:47
mukesh.mr0311-Oct-07 18:47 
AnswerRe: Losing position of the control at run time. Pin
N a v a n e e t h11-Oct-07 18:52
N a v a n e e t h11-Oct-07 18:52 

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.