Click here to Skip to main content
15,887,875 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Compare 2 tables Pin
Eddy Vluggen17-Sep-14 5:15
professionalEddy Vluggen17-Sep-14 5:15 
AnswerRe: Compare 2 tables Pin
Sibeesh KV6-Oct-14 0:43
professionalSibeesh KV6-Oct-14 0:43 
Questionmessage.show Pin
geparl15-Sep-14 7:23
geparl15-Sep-14 7:23 
AnswerRe: message.show Pin
Richard MacCutchan15-Sep-14 21:05
mveRichard MacCutchan15-Sep-14 21:05 
GeneralRe: message.show Pin
geparl17-Sep-14 4:03
geparl17-Sep-14 4:03 
QuestionOutput to memorystream Pin
byka12-Sep-14 2:35
byka12-Sep-14 2:35 
AnswerRe: Output to memorystream Pin
jschell13-Sep-14 6:44
jschell13-Sep-14 6:44 
AnswerRe: Output to memorystream Pin
Eddy Vluggen15-Sep-14 8:34
professionalEddy Vluggen15-Sep-14 8:34 
Try
C#
MemoryStream.Position = 0
MemoryStream.WriteTo(Response.OutputStream)

Next to that, you'd want to rename that to have some other name than the class! Call it "MyCoolMemoryStream", but don't copy the name of the class and use it as a variable - makes stuff hard to read.

Also, you'd like to give that method that creates the file an enum, denoting "Excel XML" - the method itself should find the proper file-extension that should be used therefore.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

QuestionBlog and RSS feeds Pin
Bastien Vandamme10-Sep-14 23:24
Bastien Vandamme10-Sep-14 23:24 
AnswerRe: Blog and RSS feeds Pin
Richard MacCutchan10-Sep-14 23:46
mveRichard MacCutchan10-Sep-14 23:46 
GeneralRe: Blog and RSS feeds Pin
Bastien Vandamme13-Sep-14 16:13
Bastien Vandamme13-Sep-14 16:13 
GeneralRe: Blog and RSS feeds Pin
Richard MacCutchan14-Sep-14 0:10
mveRichard MacCutchan14-Sep-14 0:10 
QuestionAre DLLs redundant in .NET? Pin
CatchExAs10-Sep-14 7:24
professionalCatchExAs10-Sep-14 7:24 
AnswerRe: Are DLLs redundant in .NET? Pin
Richard Deeming10-Sep-14 7:34
mveRichard Deeming10-Sep-14 7:34 
GeneralRe: Are DLLs redundant in .NET? Pin
CatchExAs10-Sep-14 9:38
professionalCatchExAs10-Sep-14 9:38 
GeneralRe: Are DLLs redundant in .NET? Pin
Dave Kreskowiak10-Sep-14 9:46
mveDave Kreskowiak10-Sep-14 9:46 
GeneralRe: Are DLLs redundant in .NET? Pin
CatchExAs10-Sep-14 9:50
professionalCatchExAs10-Sep-14 9:50 
GeneralRe: Are DLLs redundant in .NET? Pin
Dave Kreskowiak10-Sep-14 9:55
mveDave Kreskowiak10-Sep-14 9:55 
GeneralRe: Are DLLs redundant in .NET? Pin
PIEBALDconsult10-Sep-14 9:59
mvePIEBALDconsult10-Sep-14 9:59 
GeneralRe: Are DLLs redundant in .NET? Pin
Dave Kreskowiak10-Sep-14 10:04
mveDave Kreskowiak10-Sep-14 10:04 
GeneralRe: Are DLLs redundant in .NET? Pin
PIEBALDconsult10-Sep-14 10:58
mvePIEBALDconsult10-Sep-14 10:58 
GeneralRe: Are DLLs redundant in .NET? Pin
CatchExAs10-Sep-14 10:00
professionalCatchExAs10-Sep-14 10:00 
GeneralRe: Are DLLs redundant in .NET? Pin
Dave Kreskowiak10-Sep-14 10:07
mveDave Kreskowiak10-Sep-14 10:07 
GeneralRe: Are DLLs redundant in .NET? Pin
CatchExAs10-Sep-14 12:12
professionalCatchExAs10-Sep-14 12:12 
AnswerRe: Are DLLs redundant in .NET? Pin
Eddy Vluggen10-Sep-14 7:57
professionalEddy Vluggen10-Sep-14 7:57 

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.