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

.NET (Core and Framework)

 
GeneralRe: How to avoid having an error page when uploading a file with more than 4Mb size Pin
Dave Kreskowiak2-Oct-07 8:21
mveDave Kreskowiak2-Oct-07 8:21 
GeneralRe: How to avoid having an error page when uploading a file with more than 4Mb size Pin
kubben2-Oct-07 9:07
kubben2-Oct-07 9:07 
QuestionHow to reeduce noise in audio files using C# or VB Pin
B.Padma1-Oct-07 18:50
B.Padma1-Oct-07 18:50 
AnswerRe: How to reeduce noise in audio files using C# or VB Pin
cignox12-Oct-07 2:11
cignox12-Oct-07 2:11 
QuestionUsing shell? Pin
Krecik_PL1-Oct-07 6:11
Krecik_PL1-Oct-07 6:11 
AnswerRe: Using shell? Pin
Brady Kelly1-Oct-07 6:22
Brady Kelly1-Oct-07 6:22 
AnswerRe: Using shell? Pin
led mike1-Oct-07 6:33
led mike1-Oct-07 6:33 
QuestionXML Serialization problem Pin
cholo101-Oct-07 2:33
cholo101-Oct-07 2:33 
Hi everyone,

I'm trying to compose an XML with serialization in VB.NET, but I'm having a problem with an array. What I'm looking for is to get something like this:

<root>
<item>item 1
<item>item 2
<item>item 3


But if I use a XML array with code like this:

<xml.serialization.xmlarray(elementname:="item")> _
Public Property Item() As List(Of Item)
Get
Return m_items
End Get
Set(ByVal value As List(Of Item))
m_items= value
End Set
End Property

What I get is something like this:

<root>
<item>
<item>item 1
<item>item 2
<item>item 3



How should I do it in order to get the item elements right under the root and not indented inside <item>? This is my first work with serialization and maybe I'm missing something stupid. I've been looking in some forums but I haven't found an answer to this.

Thanks in advance
AnswerRe: XML Serialization problem [modified] Pin
TJoe1-Oct-07 3:51
TJoe1-Oct-07 3:51 
GeneralRe: XML Serialization problem Pin
cholo101-Oct-07 4:18
cholo101-Oct-07 4:18 
GeneralRe: XML Serialization problem Pin
TJoe1-Oct-07 4:22
TJoe1-Oct-07 4:22 
GeneralRe: XML Serialization problem Pin
TJoe1-Oct-07 6:00
TJoe1-Oct-07 6:00 
GeneralRe: XML Serialization problem Pin
cholo101-Oct-07 6:07
cholo101-Oct-07 6:07 
AnswerRe: XML Serialization problem [modified] Pin
TJoe1-Oct-07 12:53
TJoe1-Oct-07 12:53 
GeneralRe: XML Serialization problem Pin
cholo101-Oct-07 23:03
cholo101-Oct-07 23:03 
QuestionMsmqIntegrationBinding, poison messages and redundant calls Pin
danidanidani29-Sep-07 13:46
danidanidani29-Sep-07 13:46 
QuestionData Structures in Framework 3.0 Pin
Blumen27-Sep-07 22:58
Blumen27-Sep-07 22:58 
AnswerRe: Data Structures in Framework 3.0 Pin
Pete O'Hanlon30-Sep-07 23:43
mvePete O'Hanlon30-Sep-07 23:43 
QuestionHow to Upgrade? Pin
spalanivel27-Sep-07 21:16
spalanivel27-Sep-07 21:16 
AnswerRe: How to Upgrade? Pin
Colin Angus Mackay27-Sep-07 21:37
Colin Angus Mackay27-Sep-07 21:37 
GeneralRe: How to Upgrade? Pin
spalanivel2-Oct-07 5:27
spalanivel2-Oct-07 5:27 
GeneralRe: How to Upgrade? Pin
Colin Angus Mackay2-Oct-07 8:52
Colin Angus Mackay2-Oct-07 8:52 
GeneralRe: How to Upgrade? Pin
Pete O'Hanlon2-Oct-07 9:57
mvePete O'Hanlon2-Oct-07 9:57 
GeneralRe: How to Upgrade? Pin
Colin Angus Mackay2-Oct-07 10:02
Colin Angus Mackay2-Oct-07 10:02 
QuestionmySQL Problem with .NET Pin
rover_boy27-Sep-07 11:48
rover_boy27-Sep-07 11:48 

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.