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

C#

 
AnswerRe: why you can't store a lambda expression in a 'dynamic variable, or 'var variable ? Pin
Richard Deeming29-Apr-13 2:19
mveRichard Deeming29-Apr-13 2:19 
GeneralRe: why you can't store a lambda expression in a 'dynamic variable, or 'var variable ? Pin
BillWoodruff29-Apr-13 14:07
professionalBillWoodruff29-Apr-13 14:07 
QuestionExtract Date part and pass only Date Pin
meeram3927-Apr-13 4:24
professionalmeeram3927-Apr-13 4:24 
AnswerRe: Extract Date part and pass only Date Pin
Dave Kreskowiak27-Apr-13 5:31
mveDave Kreskowiak27-Apr-13 5:31 
AnswerRe: Extract Date part and pass only Date Pin
jschell27-Apr-13 11:15
jschell27-Apr-13 11:15 
GeneralJogar uma imagem em um picturibox, apartir de um clique em uma linha do datagridview Pin
Member 1000184526-Apr-13 13:15
Member 1000184526-Apr-13 13:15 
GeneralRe: Jogar uma imagem em um picturibox, apartir de um clique em uma linha do datagridview Pin
dusty_dex26-Apr-13 13:36
dusty_dex26-Apr-13 13:36 
GeneralRe: Jogar uma imagem em um picturibox, apartir de um clique em uma linha do datagridview Pin
Member 1000184526-Apr-13 15:30
Member 1000184526-Apr-13 15:30 
GeneralRe: Jogar uma imagem em um picturibox, apartir de um clique em uma linha do datagridview Pin
Dave Kreskowiak26-Apr-13 17:16
mveDave Kreskowiak26-Apr-13 17:16 
GeneralRe: Jogar uma imagem em um picturibox, apartir de um clique em uma linha do datagridview Pin
Member 1000184526-Apr-13 23:54
Member 1000184526-Apr-13 23:54 
GeneralRe: Jogar uma imagem em um picturibox, apartir de um clique em uma linha do datagridview Pin
Dave Kreskowiak27-Apr-13 4:09
mveDave Kreskowiak27-Apr-13 4:09 
GeneralRe: Jogar uma imagem em um picturibox, apartir de um clique em uma linha do datagridview Pin
Richard MacCutchan26-Apr-13 22:25
mveRichard MacCutchan26-Apr-13 22:25 
GeneralRe: Jogar uma imagem em um picturibox, apartir de um clique em uma linha do datagridview Pin
Member 1000184526-Apr-13 23:45
Member 1000184526-Apr-13 23:45 
QuestionData in XmlFiles or in Database Pin
Frygreen26-Apr-13 7:42
Frygreen26-Apr-13 7:42 
AnswerRe: Data in XmlFiles or in Database Pin
Dave Kreskowiak26-Apr-13 7:52
mveDave Kreskowiak26-Apr-13 7:52 
GeneralRe: Data in XmlFiles or in Database Pin
Frygreen26-Apr-13 8:08
Frygreen26-Apr-13 8:08 
GeneralRe: Data in XmlFiles or in Database Pin
Dave Kreskowiak26-Apr-13 8:22
mveDave Kreskowiak26-Apr-13 8:22 
AnswerRe: Data in XmlFiles or in Database Pin
Jasmine250126-Apr-13 11:31
Jasmine250126-Apr-13 11:31 
Features are never loose with a database, they are always tight.

Your "advantage" that you say with XML is actually a problem if you are talking about shared data. The problem is User 1 edits some data and sends it to User 2 - then User 2 edits some data and sends it to User 3 - at this point, User 1 has WRONG DATA, because they are still holding an old copy of the file and they have no way of knowing that User2 made changes. So, as a general rule, any data which will be used by multiple users needs to be in a database. Well, it needs to be in a central location that everyone is using - so it could be an XML file on the network, right?

Your problem here isn't about the technology being used to store the data, the issues you need to solve are about how the data is used. Files can cause major problems if the data is used by multiple users, while databases are specifically designed for that situation. Many companies have an internal problem knowing what the truth is about the company, because they don't all pull their data from a central source. Don't be like that.

On the other hand, users love files! They like to have control over 'their' data and when it's in a file on their machine, they feel comfortable with that. This is good practice for data that is work product, such as images produced by graphic designers, or engineering drawings from AutoCad, things like that. They control it while they want to, and they control how that information is shared. If you need user-level control like that, staying with files might be more appropriate.
GeneralRe: Data in XmlFiles or in Database Pin
jschell27-Apr-13 11:21
jschell27-Apr-13 11:21 
GeneralRe: Data in XmlFiles or in Database Pin
Jasmine250128-Apr-13 6:26
Jasmine250128-Apr-13 6:26 
GeneralRe: Data in XmlFiles or in Database Pin
jschell29-Apr-13 7:45
jschell29-Apr-13 7:45 
GeneralRe: Data in XmlFiles or in Database Pin
Jasmine250129-Apr-13 13:13
Jasmine250129-Apr-13 13:13 
GeneralRe: Data in XmlFiles or in Database Pin
jschell30-Apr-13 9:44
jschell30-Apr-13 9:44 
GeneralRe: Data in XmlFiles or in Database Pin
Jasmine250130-Apr-13 11:30
Jasmine250130-Apr-13 11:30 
GeneralRe: Data in XmlFiles or in Database Pin
jschell1-May-13 8:22
jschell1-May-13 8:22 

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.