Click here to Skip to main content
15,889,281 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# XML or Database Pin
Member 104453489-Dec-13 9:22
Member 104453489-Dec-13 9:22 
GeneralRe: C# XML or Database Pin
harold aptroot9-Dec-13 6:30
harold aptroot9-Dec-13 6:30 
GeneralRe: C# XML or Database Pin
Member 104453489-Dec-13 9:24
Member 104453489-Dec-13 9:24 
AnswerRe: C# XML or Database Pin
Dave Kreskowiak9-Dec-13 10:10
mveDave Kreskowiak9-Dec-13 10:10 
GeneralRe: C# XML or Database Pin
Member 1044534810-Dec-13 1:41
Member 1044534810-Dec-13 1:41 
GeneralRe: C# XML or Database Pin
Dave Kreskowiak10-Dec-13 2:36
mveDave Kreskowiak10-Dec-13 2:36 
GeneralRe: C# XML or Database Pin
Member 1044534810-Dec-13 4:10
Member 1044534810-Dec-13 4:10 
AnswerRe: C# XML or Database Pin
BobJanova10-Dec-13 4:32
BobJanova10-Dec-13 4:32 
XML is never the right answer to any data storage question unless that data is intrinsically tree based. XML is a text format, so you have issues with performance and accuracy saving numbers, dates and other binary formats, and it's a very verbose text format at that.

If you want tables of data with connections between them then you want a database or something that acts like one, otherwise you'll end up writing a query engine yourself and that's silly. As well as the free options already mentioned, mySQL is free, and if you don't want an external dependency, you can create an in memory DataSet (System.Data) which can be enough for simple applications.

If you don't think that a database is necessary for the level of complexity of your app, then it can make sense to use tab separated text files for each 'table'.
GeneralRe: C# XML or Database Pin
Member 1044534810-Dec-13 8:28
Member 1044534810-Dec-13 8:28 
GeneralRe: C# XML or Database Pin
BobJanova10-Dec-13 22:31
BobJanova10-Dec-13 22:31 
QuestionGIF image background in windows form Pin
Txispas88-Dec-13 20:43
Txispas88-Dec-13 20:43 
AnswerRe: GIF image background in windows form Pin
BillWoodruff8-Dec-13 21:36
professionalBillWoodruff8-Dec-13 21:36 
AnswerRe: GIF image background in windows form Pin
WuRunZhe9-Dec-13 2:24
WuRunZhe9-Dec-13 2:24 
QuestionI am trying to update database from datagridview using stored procedure and it keeps on saying The stored procedure expects a parameter BookID which was not supplied. Below is my code Pin
Member 103378798-Dec-13 5:19
Member 103378798-Dec-13 5:19 
AnswerRe: I am trying to update database from datagridview using stored procedure and it keeps on saying The stored procedure expects a parameter BookID which was not supplied. Below is my code Pin
DRAYKKO8-Dec-13 5:57
professionalDRAYKKO8-Dec-13 5:57 
AnswerRe: I am trying to update database from datagridview using stored procedure and it keeps on saying The stored procedure expects a parameter BookID which was not supplied. Below is my code Pin
Mycroft Holmes8-Dec-13 12:02
professionalMycroft Holmes8-Dec-13 12:02 
QuestionTextbox multithread? Pin
murali_utr8-Dec-13 3:39
murali_utr8-Dec-13 3:39 
AnswerRe: Textbox multithread? Pin
Simon_Whale8-Dec-13 22:23
Simon_Whale8-Dec-13 22:23 
AnswerRe: Textbox multithread? Pin
WuRunZhe9-Dec-13 2:33
WuRunZhe9-Dec-13 2:33 
QuestionOnline game Pin
cdpsource7-Dec-13 22:45
cdpsource7-Dec-13 22:45 
AnswerRe: Online game Pin
Richard MacCutchan8-Dec-13 1:55
mveRichard MacCutchan8-Dec-13 1:55 
AnswerRe: Online game Pin
_Maxxx_8-Dec-13 14:07
professional_Maxxx_8-Dec-13 14:07 
GeneralRe: Online game Pin
cdpsource8-Dec-13 22:26
cdpsource8-Dec-13 22:26 
GeneralRe: Online game Pin
_Maxxx_8-Dec-13 23:31
professional_Maxxx_8-Dec-13 23:31 
GeneralRe: Online game Pin
cdpsource9-Dec-13 1:25
cdpsource9-Dec-13 1:25 

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.