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

C#

 
QuestionXAML Templates for Win 10 Pin
Don Rolando28-Aug-15 7:39
Don Rolando28-Aug-15 7:39 
AnswerRe: XAML Templates for Win 10 Pin
Evil Iceblock1-Sep-15 19:09
Evil Iceblock1-Sep-15 19:09 
Questionaccess to localdb from different pcs in a lan network Pin
Member 1189642727-Aug-15 7:00
Member 1189642727-Aug-15 7:00 
AnswerRe: access to localdb from different pcs in a lan network Pin
OriginalGriff27-Aug-15 8:10
mveOriginalGriff27-Aug-15 8:10 
GeneralRe: access to localdb from different pcs in a lan network Pin
Member 1189642727-Aug-15 8:18
Member 1189642727-Aug-15 8:18 
GeneralRe: access to localdb from different pcs in a lan network Pin
OriginalGriff27-Aug-15 8:39
mveOriginalGriff27-Aug-15 8:39 
GeneralRe: access to localdb from different pcs in a lan network Pin
Member 1189642727-Aug-15 18:57
Member 1189642727-Aug-15 18:57 
GeneralRe: access to localdb from different pcs in a lan network Pin
OriginalGriff27-Aug-15 22:47
mveOriginalGriff27-Aug-15 22:47 
If you mean you ar eusing Access or similar, then that's a poor idea (and don't call that "localdb" in future - that's often used for an SQL Server instance name).

Access is a very poor multiuser database - it can work, but it has always given massive problems because it is intended to be a single user system, and local caching and suchlike can really, really mess your code and data up.

If you need multiple users (or even multiple applications) accessing your data, then you really need to switch to a multiuser system, such as SQL Server or MySql - they "wrap around" an access DB and provide multiuser access seamlessly.

I'd suggest SQL Server - there is a free version called Sql Server Express - and two instances: one on the secretaries machine (or better on a third machine) and a separate one on your development machine, so you can change and text your code without risking damaging the "production" database. Nothing, but nothing is as mortifying as discovering that you forgot the WHERE clause in an UPDATE or DELETE and having to explain you just elephanted someone else's whole day's work... Blush | :O

If you have written your code well, it's a simple change that shouldn't take very long: new connection string in the config file, and change the OdbcConnection, OdbcCommand and suchlike objects to their SqlConnection, SqlCommand, etc. equivalents will be 95% of it.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

GeneralRe: access to localdb from different pcs in a lan network Pin
Member 1189642728-Aug-15 1:43
Member 1189642728-Aug-15 1:43 
GeneralRe: access to localdb from different pcs in a lan network Pin
OriginalGriff28-Aug-15 2:02
mveOriginalGriff28-Aug-15 2:02 
GeneralRe: access to localdb from different pcs in a lan network Pin
Member 1189642728-Aug-15 2:19
Member 1189642728-Aug-15 2:19 
GeneralRe: access to localdb from different pcs in a lan network Pin
OriginalGriff28-Aug-15 2:29
mveOriginalGriff28-Aug-15 2:29 
AnswerRe: access to localdb from different pcs in a lan network Pin
Gilbert Consellado27-Aug-15 16:11
professionalGilbert Consellado27-Aug-15 16:11 
GeneralRe: access to localdb from different pcs in a lan network Pin
Member 1189642727-Aug-15 19:05
Member 1189642727-Aug-15 19:05 
GeneralRe: access to localdb from different pcs in a lan network Pin
Gilbert Consellado28-Aug-15 5:46
professionalGilbert Consellado28-Aug-15 5:46 
AnswerRe: access to localdb from different pcs in a lan network Pin
Eddy Vluggen28-Aug-15 2:04
professionalEddy Vluggen28-Aug-15 2:04 
QuestionLooking for Critique of My Answers to Recent C# Multithreading Interview Questions... Pin
clientSurfer26-Aug-15 8:06
professionalclientSurfer26-Aug-15 8:06 
AnswerRe: Looking for Critique of My Answers to Recent C# Multithreading Interview Questions... Pin
Dave Kreskowiak26-Aug-15 8:39
mveDave Kreskowiak26-Aug-15 8:39 
GeneralRe: Looking for Critique of My Answers to Recent C# Multithreading Interview Questions... Pin
clientSurfer26-Aug-15 9:16
professionalclientSurfer26-Aug-15 9:16 
GeneralRe: Looking for Critique of My Answers to Recent C# Multithreading Interview Questions... Pin
Dave Kreskowiak26-Aug-15 10:27
mveDave Kreskowiak26-Aug-15 10:27 
GeneralRe: Looking for Critique of My Answers to Recent C# Multithreading Interview Questions... Pin
clientSurfer26-Aug-15 12:37
professionalclientSurfer26-Aug-15 12:37 
JokeRe: Looking for Critique of My Answers to Recent C# Multithreading Interview Questions... Pin
clientSurfer26-Aug-15 9:21
professionalclientSurfer26-Aug-15 9:21 
GeneralRe: Looking for Critique of My Answers to Recent C# Multithreading Interview Questions... Pin
Dave Kreskowiak26-Aug-15 10:28
mveDave Kreskowiak26-Aug-15 10:28 
AnswerRe: Looking for Critique of My Answers to Recent C# Multithreading Interview Questions... Pin
F-ES Sitecore27-Aug-15 0:50
professionalF-ES Sitecore27-Aug-15 0:50 
GeneralRe: Looking for Critique of My Answers to Recent C# Multithreading Interview Questions... Pin
clientSurfer27-Aug-15 6:21
professionalclientSurfer27-Aug-15 6:21 

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.