Click here to Skip to main content
16,020,111 members
Home / Discussions / C#
   

C#

 
QuestionRdlc report Pin
T_Teef20-Oct-09 4:12
T_Teef20-Oct-09 4:12 
AnswerRe: Rdlc report Pin
Wes Aday20-Oct-09 4:56
professionalWes Aday20-Oct-09 4:56 
QuestionC# - Using Memory Streams with XML [modified] Pin
Ostrich2220-Oct-09 3:50
Ostrich2220-Oct-09 3:50 
AnswerRe: C# - Using Memory Streams with XML Pin
Keith Barrow20-Oct-09 4:00
professionalKeith Barrow20-Oct-09 4:00 
AnswerRe: C# - Using Memory Streams with XML Pin
Covean20-Oct-09 4:04
Covean20-Oct-09 4:04 
GeneralRe: C# - Using Memory Streams with XML Pin
Ostrich2220-Oct-09 4:06
Ostrich2220-Oct-09 4:06 
AnswerRe: C# - Using Memory Streams with XML Pin
OriginalGriff20-Oct-09 4:08
mveOriginalGriff20-Oct-09 4:08 
AnswerRe: C# - Using Memory Streams with XML Pin
Mirko198020-Oct-09 4:14
Mirko198020-Oct-09 4:14 
If you look at the value of ms.Position after you have wrote in it, you'll see that has the same value of ms.Length. That is because you have just written into the stream and the stream cursor is located at the end.
Due to that, if you try to read the stream content, the reader doesn't found anything to read, giving the "Root Element is missing" exception.
Call ms.Seek(0, SeekOrigin.Begin) (or set ms.Position = 0) to move the cursor back to the beginning of the stream after writing and before reading.
AnswerRe: C# - Using Memory Streams with XML Pin
Luc Pattyn20-Oct-09 4:24
sitebuilderLuc Pattyn20-Oct-09 4:24 
QuestionHow to catch an event fired within a late-binded, custom written DLL. [modified] Pin
MatthysDT20-Oct-09 2:55
MatthysDT20-Oct-09 2:55 
AnswerRe: How to catch an event fired within a late-binded, custom written DLL. Pin
Eddy Vluggen20-Oct-09 7:22
professionalEddy Vluggen20-Oct-09 7:22 
GeneralRe: How to catch an event fired within a late-binded, custom written DLL. Pin
MatthysDT21-Oct-09 20:15
MatthysDT21-Oct-09 20:15 
QuestionDateTimePicker with BackColor Pin
blind198520-Oct-09 2:54
blind198520-Oct-09 2:54 
Questiondatagridview question Pin
akram300220-Oct-09 2:27
akram300220-Oct-09 2:27 
AnswerRe: datagridview question Pin
Calla20-Oct-09 2:36
Calla20-Oct-09 2:36 
GeneralRe: datagridview question Pin
akram300220-Oct-09 2:40
akram300220-Oct-09 2:40 
AnswerRe: datagridview question Pin
stancrm20-Oct-09 2:39
stancrm20-Oct-09 2:39 
GeneralRe: datagridview question Pin
akram300220-Oct-09 2:44
akram300220-Oct-09 2:44 
GeneralRe: datagridview question Pin
akram300220-Oct-09 3:31
akram300220-Oct-09 3:31 
GeneralRe: datagridview question Pin
jaypatel51220-Oct-09 7:06
jaypatel51220-Oct-09 7:06 
QuestionCreation of a site collection in MOSS 2007 using C#.NET 2008 [modified] Pin
mgr_2k720-Oct-09 2:07
mgr_2k720-Oct-09 2:07 
AnswerRe: Creation of a site collection in MOSS 2007 using C#.NET 2008 Pin
Richard MacCutchan20-Oct-09 3:16
mveRichard MacCutchan20-Oct-09 3:16 
AnswerMy vote of 1 Pin
Keith Barrow20-Oct-09 3:22
professionalKeith Barrow20-Oct-09 3:22 
QuestionHow to merge 2 multidimensional Array into Single one in C# Pin
basantakumar20-Oct-09 1:44
basantakumar20-Oct-09 1:44 
AnswerRe: How to merge 2 multidimensional Array into Single one in C# Pin
Jacobb Michael20-Oct-09 2:06
Jacobb Michael20-Oct-09 2:06 

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.