Click here to Skip to main content
16,006,845 members
Home / Discussions / C#
   

C#

 
GeneralRe: colin kindly give me the steps how i shouls proceed to avoid it Pin
chandtec3-Mar-05 16:39
chandtec3-Mar-05 16:39 
QuestionHow to determine if Object obj is a collection or not? Pin
rajesh.net2-Mar-05 5:20
rajesh.net2-Mar-05 5:20 
AnswerRe: How to determine if Object obj is a collection or not? Pin
Colin Angus Mackay2-Mar-05 5:32
Colin Angus Mackay2-Mar-05 5:32 
AnswerRe: How to determine if Object obj is a collection or not? Pin
S. Senthil Kumar2-Mar-05 7:28
S. Senthil Kumar2-Mar-05 7:28 
GeneralLooking for a better way to build a Dataset Pin
Adam °Wimsatt2-Mar-05 5:03
Adam °Wimsatt2-Mar-05 5:03 
GeneralRe: Looking for a better way to build a Dataset Pin
leppie2-Mar-05 6:59
leppie2-Mar-05 6:59 
GeneralRe: Looking for a better way to build a Dataset Pin
Samar Aarkotti2-Mar-05 7:38
Samar Aarkotti2-Mar-05 7:38 
GeneralRe: Looking for a better way to build a Dataset Pin
Peter Vertes2-Mar-05 18:37
Peter Vertes2-Mar-05 18:37 
Like the other's suggested I would use XML also. In your case you are interested in the DataSet.ReadXml() and DataSet.WriteXml() methods. I would:

1) Input all the data by hand into my DataTable and then add that DataTable into a DataSet.

2) Call the DataSet's WriteXml() methods and pass a FileStream into it so you will end up with a file.

3) Now you can use that file as a template to manually change the Value tags in there.

4) When you are done with changing your Value tags you can call the DataSet's ReadXml() method, with another FileStream, to take all your data in the XML file and put it inside a DataTable and a DataSet.

-Peter
GeneralC# Application to Web Pin
Samar Aarkotti2-Mar-05 4:42
Samar Aarkotti2-Mar-05 4:42 
GeneralRe: C# Application to Web Pin
Adam °Wimsatt2-Mar-05 5:06
Adam °Wimsatt2-Mar-05 5:06 
GeneralRe: C# Application to Web Pin
Anonymous2-Mar-05 5:33
Anonymous2-Mar-05 5:33 
GeneralRe: C# Application to Web Pin
Adam °Wimsatt2-Mar-05 6:08
Adam °Wimsatt2-Mar-05 6:08 
GeneralRe: C# Application to Web Pin
Samar Aarkotti2-Mar-05 7:32
Samar Aarkotti2-Mar-05 7:32 
GeneralRe: C# Application to Web Pin
Adam °Wimsatt2-Mar-05 8:13
Adam °Wimsatt2-Mar-05 8:13 
GeneralRe: C# Application to Web Pin
Samar Aarkotti2-Mar-05 9:16
Samar Aarkotti2-Mar-05 9:16 
GeneralPlaying MPEG-1 audio data through DirectX.NET Pin
Member 17732982-Mar-05 4:36
Member 17732982-Mar-05 4:36 
GeneralSending contents of a text file via emails Pin
Un-Connected2-Mar-05 4:26
Un-Connected2-Mar-05 4:26 
GeneralRe: Sending contents of a text file via emails Pin
Esmo20002-Mar-05 5:47
Esmo20002-Mar-05 5:47 
QuestionHow to print form? Pin
redmat2-Mar-05 3:28
redmat2-Mar-05 3:28 
AnswerRe: How to print form? Pin
Judah Gabriel Himango2-Mar-05 4:10
sponsorJudah Gabriel Himango2-Mar-05 4:10 
GeneralRe: How to print form? Pin
redmat2-Mar-05 4:24
redmat2-Mar-05 4:24 
GeneralRe: How to print form? Pin
redmat3-Mar-05 2:41
redmat3-Mar-05 2:41 
GeneralProcess.Start("mailto:abc@yahoo.com") Pin
vchalla2-Mar-05 3:14
vchalla2-Mar-05 3:14 
GeneralRe: Process.Start("mailto:abc@yahoo.com") Pin
Judah Gabriel Himango2-Mar-05 4:04
sponsorJudah Gabriel Himango2-Mar-05 4:04 
GeneralAdding custom buttons to MessageBox Pin
GazzaJ2-Mar-05 3:09
GazzaJ2-Mar-05 3:09 

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.