Click here to Skip to main content
15,893,508 members
Home / Discussions / C#
   

C#

 
AnswerRe: ICursor Pin
Mycroft Holmes16-Jul-13 20:22
professionalMycroft Holmes16-Jul-13 20:22 
Questionhello everybody i need some help to get the same in the following link (c# code and class and dynamically and based on stored procedure database) Pin
Member 184462915-Jul-13 8:12
Member 184462915-Jul-13 8:12 
AnswerRe: hello everybody i need some help to get the same in the following link (c# code and class and dynamically and based on stored procedure database) Pin
Dave Kreskowiak15-Jul-13 11:50
mveDave Kreskowiak15-Jul-13 11:50 
AnswerRe: hello everybody i need some help to get the same in the following link (c# code and class and dynamically and based on stored procedure database) Pin
Emmanuel Medina15-Jul-13 12:00
professionalEmmanuel Medina15-Jul-13 12:00 
GeneralRe: hello everybody i need some help to get the same in the following link (c# code and class and dynamically and based on stored procedure database) Pin
Member 184462915-Jul-13 22:59
Member 184462915-Jul-13 22:59 
GeneralRe: hello everybody i need some help to get the same in the following link (c# code and class and dynamically and based on stored procedure database) Pin
Emmanuel Medina16-Jul-13 7:40
professionalEmmanuel Medina16-Jul-13 7:40 
QuestionC# Pin
Rain Dancer14-Jul-13 21:44
Rain Dancer14-Jul-13 21:44 
AnswerRe: C# PinPopular
Richard MacCutchan14-Jul-13 22:26
mveRichard MacCutchan14-Jul-13 22:26 
GeneralRe: C# Pin
Rain Dancer15-Jul-13 23:42
Rain Dancer15-Jul-13 23:42 
AnswerRe: C# Pin
Emmanuel Medina15-Jul-13 11:55
professionalEmmanuel Medina15-Jul-13 11:55 
AnswerRe: C# Pin
Abhinav S15-Jul-13 18:37
Abhinav S15-Jul-13 18:37 
AnswerRe: C# Pin
Amir Mohammad Nasrollahi29-Jul-13 6:53
professionalAmir Mohammad Nasrollahi29-Jul-13 6:53 
GeneralRe: C# Pin
Rain Dancer2-Oct-13 4:41
Rain Dancer2-Oct-13 4:41 
QuestionC# Class Design Pin
jimbo6914-Jul-13 18:03
jimbo6914-Jul-13 18:03 
AnswerRe: C# Class Design Pin
OriginalGriff14-Jul-13 20:42
mveOriginalGriff14-Jul-13 20:42 
GeneralRe: C# Class Design Pin
jimbo6915-Jul-13 4:44
jimbo6915-Jul-13 4:44 
GeneralRe: C# Class Design Pin
OriginalGriff15-Jul-13 5:00
mveOriginalGriff15-Jul-13 5:00 
AnswerRe: C# Class Design Pin
Bernhard Hiller15-Jul-13 3:05
Bernhard Hiller15-Jul-13 3:05 
GeneralRe: C# Class Design Pin
jimbo6915-Jul-13 4:45
jimbo6915-Jul-13 4:45 
Questionc# Pin
akoito114-Jul-13 16:52
akoito114-Jul-13 16:52 
AnswerRe: c# Pin
OriginalGriff14-Jul-13 20:05
mveOriginalGriff14-Jul-13 20:05 
There are a huge number of ways!
The easiest is to use a DataSet.

Easy write:
Create your data in a DataTable, then:
DataSet ds = new DataSet();
ds.Tables.Add(dt);
ds.WriteXml(@"D:\Temp\td.xml");

Easy Read:
DataSet ds = new DataSet();
ds.ReadXml(@"D:\Temp\td.xml");
dt = ds.Tables[0];

You can use DataTable.ReadXml instead, but it doesn't support schema inference, DataSet.ReadXml does.
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

QuestionHow to dispose all resources after closing the application ? Pin
taibc13-Jul-13 23:26
taibc13-Jul-13 23:26 
AnswerRe: How to dispose all resources after closing the application ? Pin
Eddy Vluggen14-Jul-13 2:45
professionalEddy Vluggen14-Jul-13 2:45 
GeneralRe: How to dispose all resources after closing the application ? Pin
taibc14-Jul-13 15:04
taibc14-Jul-13 15:04 
GeneralRe: How to dispose all resources after closing the application ? PinPopular
NotPolitcallyCorrect14-Jul-13 15:30
NotPolitcallyCorrect14-Jul-13 15:30 

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.