Click here to Skip to main content
15,903,856 members
Home / Discussions / C#
   

C#

 
Question[Message Deleted] Pin
ninjatruck7-Nov-09 8:59
ninjatruck7-Nov-09 8:59 
AnswerRe: problem checking for 404 Pin
Christian Graus7-Nov-09 9:07
protectorChristian Graus7-Nov-09 9:07 
GeneralRe: problem checking for 404 Pin
ninjatruck7-Nov-09 9:23
ninjatruck7-Nov-09 9:23 
GeneralRe: problem checking for 404 Pin
Christian Graus7-Nov-09 9:36
protectorChristian Graus7-Nov-09 9:36 
GeneralRe: problem checking for 404 Pin
ninjatruck7-Nov-09 9:43
ninjatruck7-Nov-09 9:43 
GeneralRe: problem checking for 404 Pin
Christian Graus7-Nov-09 10:19
protectorChristian Graus7-Nov-09 10:19 
GeneralRe: problem checking for 404 Pin
Saksida Bojan7-Nov-09 9:40
Saksida Bojan7-Nov-09 9:40 
AnswerRe: problem checking for 404 Pin
Abhishek Sur7-Nov-09 9:19
professionalAbhishek Sur7-Nov-09 9:19 
AnswerRe: problem checking for 404 Pin
Luc Pattyn7-Nov-09 9:33
sitebuilderLuc Pattyn7-Nov-09 9:33 
GeneralRe: problem checking for 404 Pin
ninjatruck7-Nov-09 9:35
ninjatruck7-Nov-09 9:35 
GeneralRe: problem checking for 404 Pin
Christian Graus7-Nov-09 9:40
protectorChristian Graus7-Nov-09 9:40 
GeneralRe: problem checking for 404 Pin
Luc Pattyn7-Nov-09 9:44
sitebuilderLuc Pattyn7-Nov-09 9:44 
Questionprogram Pin
sujeet3082@yahoo.com7-Nov-09 8:19
sujeet3082@yahoo.com7-Nov-09 8:19 
AnswerRe: program Pin
Richard MacCutchan7-Nov-09 8:35
mveRichard MacCutchan7-Nov-09 8:35 
AnswerRe: program Pin
Christian Graus7-Nov-09 9:05
protectorChristian Graus7-Nov-09 9:05 
AnswerRe: program Pin
Luc Pattyn7-Nov-09 9:37
sitebuilderLuc Pattyn7-Nov-09 9:37 
Questioncartoon yourself?????????????????????????? Pin
rizwana rashid7-Nov-09 8:09
rizwana rashid7-Nov-09 8:09 
AnswerRe: cartoon yourself?????????????????????????? Pin
Christian Graus7-Nov-09 9:04
protectorChristian Graus7-Nov-09 9:04 
QuestionProblem reading image tag info using Microsoft PropertyItems. Pin
ftCalhouner7-Nov-09 5:47
ftCalhouner7-Nov-09 5:47 
Questionhow to write xml? [modified] Pin
Member 23212937-Nov-09 5:38
Member 23212937-Nov-09 5:38 
Hi,
Is anyone can tell me how to write a xml file that can return me a result look like this:
<?xml version="1.0"?>
<Items>
<Appointment Start="07/12/2008 11:05:00" End="07/12/2008 14:30:00" .../>
<Appointment Start="07/14/2008 08:15:00" End="07/16/2008 16:40:00" .../>
</Items>
Above is my expected look of my xml file.
These data <Appointment start=".... /> are set EXACTLY THE SAME into a dataset and the table name is "xmldata" And before it is generated I try to loop this dataset and hope to generate a xml look like above. but i alway fail to get a correct format.
its comes like this:
<?xml version="1.0" standalone="yes"?>
<Items>
<xmldata>
<Data>Appointment Start='07/12/2008 11:05:00' End='07/12/2008 14:30:00' Description='Rent this car ' Label='2' Location='city' ResourceId='1' Status='3' Subject='Mr.Brown' </Data>
</xmldata>
<xmldata>
<Data>Appointment Start='07/14/2008 08:15:00' End='07/16/2008 16:40:00' Description='Scheduled repair of this car' Label='4' Location='Service Center' ResourceId='1' Status='2' Subject='Repair' </Data>
</xmldata>
</Items>
XML above by using: ldt_ds.Tables["xmldata"].WriteXml(sourcePath2, false);
Hope someone can help on this.
Thank you.
by CS Tan

modified on Saturday, November 7, 2009 12:06 PM

AnswerRe: how to write xml? Pin
Not Active7-Nov-09 6:45
mentorNot Active7-Nov-09 6:45 
AnswerRe: how to write xml? Pin
PIEBALDconsult7-Nov-09 10:18
mvePIEBALDconsult7-Nov-09 10:18 
QuestionRegistration required Pin
_Madmatt7-Nov-09 5:13
_Madmatt7-Nov-09 5:13 
AnswerRe: Registration required Pin
Not Active7-Nov-09 5:36
mentorNot Active7-Nov-09 5:36 
GeneralRe: Registration required Pin
_Madmatt7-Nov-09 5:46
_Madmatt7-Nov-09 5:46 

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.