Click here to Skip to main content
15,914,163 members
Home / Discussions / C#
   

C#

 
GeneralRe: Changing the text of label Pin
Dave Kreskowiak3-May-07 3:51
mveDave Kreskowiak3-May-07 3:51 
GeneralRe: Changing the text of label [modified] Pin
gumi_r@msn.com3-May-07 6:08
gumi_r@msn.com3-May-07 6:08 
GeneralRe: Changing the text of label [modified] Pin
gumi_r@msn.com3-May-07 6:40
gumi_r@msn.com3-May-07 6:40 
GeneralRe: Changing the text of label Pin
Dave Kreskowiak3-May-07 13:33
mveDave Kreskowiak3-May-07 13:33 
GeneralRe: Changing the text of label Pin
Dave Kreskowiak3-May-07 3:48
mveDave Kreskowiak3-May-07 3:48 
GeneralRe: Changing the text of label Pin
sujithkumarsl3-May-07 8:42
sujithkumarsl3-May-07 8:42 
QuestionHow to get control of selected component. Pin
suveenmohan2-May-07 22:48
suveenmohan2-May-07 22:48 
AnswerRe: How to get control of selected component. Pin
Arun.Immanuel2-May-07 23:22
Arun.Immanuel2-May-07 23:22 
GeneralRe: How to get control of selected component. Pin
suveenmohan2-May-07 23:28
suveenmohan2-May-07 23:28 
GeneralRe: How to get control of selected component. Pin
Arun.Immanuel3-May-07 0:21
Arun.Immanuel3-May-07 0:21 
AnswerRe: How to get control of selected component. Pin
AFSEKI7-May-07 5:36
AFSEKI7-May-07 5:36 
QuestionCulture and ResourceBundle Questions Pin
Ollie19862-May-07 22:39
Ollie19862-May-07 22:39 
QuestionFinding Info about a dll using Reflection Pin
SatyaDY2-May-07 22:00
SatyaDY2-May-07 22:00 
AnswerRe: Finding Info about a dll using Reflection Pin
Vikram A Punathambekar2-May-07 22:05
Vikram A Punathambekar2-May-07 22:05 
GeneralRe: Finding Info about a dll using Reflection Pin
SatyaDY2-May-07 22:12
SatyaDY2-May-07 22:12 
GeneralRe: Finding Info about a dll using Reflection Pin
Pete O'Hanlon2-May-07 22:24
mvePete O'Hanlon2-May-07 22:24 
GeneralRe: Finding Info about a dll using Reflection Pin
SatyaDY2-May-07 22:32
SatyaDY2-May-07 22:32 
GeneralRe: Finding Info about a dll using Reflection Pin
Pete O'Hanlon3-May-07 0:29
mvePete O'Hanlon3-May-07 0:29 
GeneralRe: Finding Info about a dll using Reflection Pin
SatyaDY3-May-07 1:19
SatyaDY3-May-07 1:19 
GeneralRe: Finding Info about a dll using Reflection Pin
Pete O'Hanlon3-May-07 3:00
mvePete O'Hanlon3-May-07 3:00 
GeneralRe: Finding Info about a dll using Reflection Pin
Vikram A Punathambekar2-May-07 22:35
Vikram A Punathambekar2-May-07 22:35 
AnswerRe: Finding Info about a dll using Reflection Pin
AFSEKI7-May-07 5:38
AFSEKI7-May-07 5:38 
QuestionConditional Directives Pin
Dewald2-May-07 21:49
Dewald2-May-07 21:49 
AnswerRe: Conditional Directives Pin
Luc Pattyn3-May-07 1:16
sitebuilderLuc Pattyn3-May-07 1:16 
Questionhow to parse the file into xml Pin
DON3452-May-07 21:03
DON3452-May-07 21:03 
Hi all,
iam new to .net,iam getting problem at parsing the file.My sample file contains key value pair data,and key value is seperated by space and field is seperated by line.This is the sample code:
1aDOCSTART_3 |DOCTYPE BILL|
GENEVAVERSION 5.0
BILLSTYLE 2
BILLTYPE 1|
BILLTEMPLATE 3|
BILLSEQ 1|
BILLVERSION 1|
ACCCURRENCYCODE GBP|
BILLLANGID 1|
BILLLANGNAME English (UK)|
BILLLANGLOCALE en_GB|
PAYMETHODID 4
FORMATREQ TEST014/0001|
COPYBILLNUM 0|
BILLPURPOSE 1
BILLPURPOSENAME Master Bill|
ADDRESS1 11 Richmond Road
ADDRESS4 London|
ZIPCODE SW1V 1QP
COUNTRY United Kingdom|
BSTARTACCFADDR |
ACCFADDR_1 11 Richmond Road|
ACCFADDR_2 London|
ACCFADDR_3 SW1V 1QP|
ACCFADDR_4 United Kingdom|


In above file GENEVAVERSION 5.0 is one key value field it is seperated by space and each fields are seperated by pipe symbol and each is in new line.
my problem is how to parse this file as xml.pls send me some sample code it is more helpful for me.

Thanks&Regards
RENU

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.