Click here to Skip to main content
15,885,954 members
Home / Discussions / C#
   

C#

 
GeneralRe: c# listview insert not working Pin
dbushong9-Dec-13 8:03
dbushong9-Dec-13 8:03 
GeneralRe: c# listview insert not working Pin
dbushong9-Dec-13 8:41
dbushong9-Dec-13 8:41 
GeneralRe: c# listview insert not working Pin
Richard MacCutchan9-Dec-13 8:59
mveRichard MacCutchan9-Dec-13 8:59 
QuestionC# XML or Database Pin
Member 104453489-Dec-13 2:57
Member 104453489-Dec-13 2:57 
AnswerRe: C# XML or Database Pin
Richard MacCutchan9-Dec-13 3:34
mveRichard MacCutchan9-Dec-13 3:34 
GeneralRe: C# XML or Database Pin
Member 104453489-Dec-13 9:22
Member 104453489-Dec-13 9:22 
AnswerRe: C# XML or Database Pin
thatraja9-Dec-13 3:54
professionalthatraja9-Dec-13 3:54 
GeneralRe: C# XML or Database Pin
Nicholas Marty9-Dec-13 4:15
professionalNicholas Marty9-Dec-13 4:15 
I also used XML for storing some data in some cases.

An advantage: You can manually tell the application which file you want to load (or store to) and keep multiple different versions at the same time without causing any problems. If you're using a database this is getting a bit more difficult. Also if you want to store them in a e.g a Source Control as most Databases store the data in some binary format. You can however easily compare different XML files with each other.

Besides. Database might generally offer better performance but they can also require quite a lot of resources to run. If you don't have lots of data an XML file might still be faster than a database.
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 
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 

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.