Click here to Skip to main content
15,920,217 members
Home / Discussions / C#
   

C#

 
GeneralRe: Very strange "out of memory" exception Pin
Guffa1-Sep-08 23:25
Guffa1-Sep-08 23:25 
AnswerRe: Very strange "out of memory" exception Pin
tamour2-Sep-08 1:49
tamour2-Sep-08 1:49 
Questiondataset,dataadapter Pin
NiloofarNoroozi1-Sep-08 20:16
NiloofarNoroozi1-Sep-08 20:16 
AnswerRe: dataset,dataadapter Pin
AhsanS1-Sep-08 20:57
AhsanS1-Sep-08 20:57 
AnswerRe: dataset,dataadapter Pin
Muammar©1-Sep-08 22:55
Muammar©1-Sep-08 22:55 
AnswerRe: dataset,dataadapter Pin
Member 36367991-Sep-08 23:55
Member 36367991-Sep-08 23:55 
GeneralRe: dataset,dataadapter Pin
NiloofarNoroozi2-Sep-08 1:59
NiloofarNoroozi2-Sep-08 1:59 
QuestionXML Reading question. Pin
crash8931-Sep-08 19:30
crash8931-Sep-08 19:30 
Hi all,

I started my first xml writeing /reading project

I want to save all the text in the textboxes of the form to an xml file ( save file) and then load it back later.


I have the writing XML down ( i think please let me know if you have ideas)


but here is an example of my output

?xml version="1.0" encoding="UTF-8"?
Root
  FileInfo
    Region Region="Region1" /
    TourName TourName="mens2006" /
    Username Username="rbarbrow" /
    timestamp TimeStamp="9/2/2008 1:25:26 AM" /
  /FileInfo
  MatchInfo
    Match TB_32_C="No Chatter" /
    Match TB_32_U="1-North Carolina (32-2)" /
    Match TB_32_L="16- Play-In-Winner" /
    Match TB_32_S="Raliegh, N.C., Friday 7:10" /
    Match TB_33_C="No Chatter" />
    Match TB_33_U="8-Indiana (25-7)" /
    Match TB_33_L="9-Arkansas (22-11)" /
    Match TB_33_S="Ralegh, N.C., Friday, 9:30" /
  /MatchInfo>
/Root




The idea is that i have textboxes TB_##_(U,S,L,C) and that i can read what textbox and what text and then read the text back in

the problem is that i can read the text with the .getattribute(i) method ("no chatter" or "1-North Carolina (32-2)") but i can not read the attribute name ( TB_32_C or TB_32_U)

So question 1 is: How do i read the Attribute NAME?


question 2 is there a way to read only things in the MatchInfo Node? ( if node is the right word)


Thanks so much for any help
AnswerRe: XML Reading question. Pin
AhsanS1-Sep-08 21:05
AhsanS1-Sep-08 21:05 
GeneralRe: XML Reading question. Pin
crash8932-Sep-08 6:42
crash8932-Sep-08 6:42 
AnswerRe: XML Reading question. Pin
PIEBALDconsult2-Sep-08 5:14
mvePIEBALDconsult2-Sep-08 5:14 
GeneralRe: XML Reading question. Pin
crash8932-Sep-08 6:48
crash8932-Sep-08 6:48 
GeneralRe: XML Reading question. Pin
PIEBALDconsult2-Sep-08 7:13
mvePIEBALDconsult2-Sep-08 7:13 
Questionwindows application on remote machine Pin
balu123451-Sep-08 19:30
balu123451-Sep-08 19:30 
AnswerRe: windows application on remote machine Pin
Muammar©1-Sep-08 23:08
Muammar©1-Sep-08 23:08 
QuestionResult set for MSACCESS in c# Pin
selvakkumar1-Sep-08 19:14
selvakkumar1-Sep-08 19:14 
AnswerRe: Result set for MSACCESS in c# Pin
blackjack21501-Sep-08 22:48
blackjack21501-Sep-08 22:48 
QuestionHelp regarding ToolStripDropDownButton,ToolStripMenuItem Pin
Tridip Bhattacharjee1-Sep-08 19:04
professionalTridip Bhattacharjee1-Sep-08 19:04 
AnswerRe: Help regarding ToolStripDropDownButton,ToolStripMenuItem Pin
Member 261649324-Feb-09 6:29
Member 261649324-Feb-09 6:29 
QuestionIDispose Pin
netJP12L1-Sep-08 18:45
netJP12L1-Sep-08 18:45 
AnswerRe: IDispose Pin
N a v a n e e t h1-Sep-08 18:50
N a v a n e e t h1-Sep-08 18:50 
GeneralRe: IDispose Pin
netJP12L2-Sep-08 4:42
netJP12L2-Sep-08 4:42 
AnswerRe: IDispose Pin
Scott Dorman2-Sep-08 9:54
professionalScott Dorman2-Sep-08 9:54 
Questionhow to retreive publickey from the xml document Pin
prasadbuddhika1-Sep-08 18:32
prasadbuddhika1-Sep-08 18:32 
QuestionUpdate DataTable with DataGridView Pin
myNameIsRon1-Sep-08 17:59
myNameIsRon1-Sep-08 17:59 

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.