Click here to Skip to main content
15,899,937 members
Home / Discussions / C#
   

C#

 
GeneralProgressBar (Colors) Pin
Schnemar7-Mar-02 4:59
Schnemar7-Mar-02 4:59 
Generaldllimport Pin
7-Mar-02 1:48
suss7-Mar-02 1:48 
GeneralRe: dllimport Pin
Mazdak7-Mar-02 2:10
Mazdak7-Mar-02 2:10 
GeneralError: "No overload method for 'class' takes 'n' arguments" Pin
Merrin7-Mar-02 1:40
Merrin7-Mar-02 1:40 
GeneralRe: Error: "No overload method for 'class' takes 'n' arguments" Pin
Greg Hack8-Mar-02 6:03
Greg Hack8-Mar-02 6:03 
GeneralProblems on NT4 Pin
Gavin_Mannion7-Mar-02 0:36
Gavin_Mannion7-Mar-02 0:36 
GeneralXML files Pin
Mazdak6-Mar-02 20:52
Mazdak6-Mar-02 20:52 
GeneralRe: XML files Pin
jan larsen7-Mar-02 1:18
jan larsen7-Mar-02 1:18 
It is roughly the equivalent to ask if you should use a comma separated file or a database.

Let us compare the two file types:
The XML file would have the possibility of bearing the meta information itself, but it is up to the designer to give the tags some meaningfull names.
If you use a dtd for the xml file, you could put the meta information here, but again, it is up to the designer to do so.
At the risk og getting flamed: IMHO XML files are glorified comma separated files, and the serialization process compared to (almost every) dbms is slooow...

Databases on the other hand, are containers designed for their respective dbms'es to give a balanced performance of searching, inserting, deleting and serializing and they are built for handling VERY large amounts of data.
Internally they keep some basic indexes on the position of data, and in exchange for resources like disk space, you can ask for extra indexes to improve search speeds.

Conclusion: If you are in need of serializing SMALL data portions, like 1-2 MB, you could use an xml file. But if the data portion will grow virtually unlimited or you are doing a lot of insertions/deletes that causes serialization, then you should use a database (even Access is able to compete here).

Jan

"It could have been worse, it could have been ME!"
GeneralRe: XML files Pin
Mazdak7-Mar-02 2:11
Mazdak7-Mar-02 2:11 
Questionis there OMG IDL2cpp or IDL2C#? Pin
6-Mar-02 16:01
suss6-Mar-02 16:01 
GeneralTwo JOINs in SQL Pin
6-Mar-02 9:12
suss6-Mar-02 9:12 
GeneralRe: Two JOINs in SQL Pin
Carlos Antollini6-Mar-02 9:52
Carlos Antollini6-Mar-02 9:52 
GeneralRe: Two JOINs in SQL Pin
7-Mar-02 3:38
suss7-Mar-02 3:38 
General#Speed Pin
Sumudu Perera6-Mar-02 6:37
Sumudu Perera6-Mar-02 6:37 
GeneralRe: #Speed Pin
6-Mar-02 7:24
suss6-Mar-02 7:24 
GeneralRe: #Speed Pin
Sumudu Perera10-Mar-02 6:00
Sumudu Perera10-Mar-02 6:00 
GeneralRe: #Speed Pin
James T. Johnson10-Mar-02 9:45
James T. Johnson10-Mar-02 9:45 
Generalwindows service in c# Pin
omkamal6-Mar-02 4:14
omkamal6-Mar-02 4:14 
GeneralRe: windows service in c# Pin
8-May-02 12:27
suss8-May-02 12:27 
GeneralDeclarative Code Access Security Pin
6-Mar-02 3:58
suss6-Mar-02 3:58 
General**** The DataGrids! All of them! Pin
Domenic Denicola6-Mar-02 3:21
Domenic Denicola6-Mar-02 3:21 
GeneralRe: **** The DataGrids! All of them! Pin
James T. Johnson6-Mar-02 13:05
James T. Johnson6-Mar-02 13:05 
GeneralRe: **** The DataGrids! All of them! Pin
Domenic Denicola6-Mar-02 13:39
Domenic Denicola6-Mar-02 13:39 
GeneralRe: **** The DataGrids! All of them! Pin
James T. Johnson6-Mar-02 14:52
James T. Johnson6-Mar-02 14:52 
GeneralRe: **** The DataGrids! All of them! Pin
Domenic Denicola6-Mar-02 15:08
Domenic Denicola6-Mar-02 15:08 

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.