Click here to Skip to main content
15,925,309 members
Home / Discussions / Database
   

Database

 
GeneralRe: What is wrong with these SQL statements?? Pin
Mazdak8-Feb-03 3:53
Mazdak8-Feb-03 3:53 
GeneralRe: What is wrong with these SQL statements?? Pin
IrishSonic8-Feb-03 6:49
IrishSonic8-Feb-03 6:49 
GeneralDELETE STILL NOT WORKING FOR ME... Pin
IrishSonic8-Feb-03 7:14
IrishSonic8-Feb-03 7:14 
GeneralRe: DELETE STILL NOT WORKING FOR ME... Pin
karl_w8-Feb-03 10:12
karl_w8-Feb-03 10:12 
QuestionWhat database am I using? Pin
David Salter7-Feb-03 11:21
David Salter7-Feb-03 11:21 
AnswerRe: What database am I using? Pin
Bruce Duncan8-Feb-03 0:29
Bruce Duncan8-Feb-03 0:29 
GeneralRe: What database am I using? Pin
David Salter9-Feb-03 7:45
David Salter9-Feb-03 7:45 
GeneralSystem.Data.DataTable write synchronization Pin
Bill Baldasti6-Feb-03 11:41
Bill Baldasti6-Feb-03 11:41 
Hey All -

I'm wondering if anyone else has come across a similar problem and/or solution.

I've implemented a desktop application in .NET (C#). In order to increase performance, it maintains a local cache of server-side data in a collection of DataTable objects (since I'm not retrieving this data from a DB, I'm not using the DataAdapter, I'm building these DataTable objects dynamically).

Anyway, in order to optimize the application, I'm refactoring the application to use several threads for different things. Now, the problem this introduces is I no have the possibility of two threads attempting a write operation to the same DataTable object (which, according to the MSDN does not support thread safe write operations -- BOO! Big Grin | :-D )

Rather than write set() methods for all my dataTable objects and look after the write synchronization, I'm wondering if its possible to just create two new objects, perhaps SynchroDataTable and SynchroDataRow that extend DataTable and DataRow respectively and synchronize the appropriate properties. That way, I can multithread my app without writing to much new data access/update code.

Has anyone tried something similar? What were your experiences, strategies?

Any/all comments, suggestions, code, solutions, URLs, etc.. are appreciated!

Regards,
Bill


--
Bill D. Baldasti
Canuck Coder in T-dot!
QuestionDo you access a SQL server the same way as a ACCESS DATABASE?? Pin
IrishSonic5-Feb-03 11:31
IrishSonic5-Feb-03 11:31 
AnswerRe: Do you access a SQL server the same way as a ACCESS DATABASE?? Pin
Philip Patrick7-Feb-03 21:56
professionalPhilip Patrick7-Feb-03 21:56 
GeneralSingle quotes in SQL strings... Pin
Jamie Hale5-Feb-03 0:29
Jamie Hale5-Feb-03 0:29 
GeneralRe: Single quotes in SQL strings... Pin
Richard Deeming5-Feb-03 2:06
mveRichard Deeming5-Feb-03 2:06 
GeneralRe: Single quotes in SQL strings... Pin
Jamie Hale5-Feb-03 3:21
Jamie Hale5-Feb-03 3:21 
GeneralADO.NET -vs- ODBC.NET Pin
ExtraLean4-Feb-03 5:52
ExtraLean4-Feb-03 5:52 
GeneralRe: ADO.NET -vs- ODBC.NET Pin
Bruce Duncan4-Feb-03 7:59
Bruce Duncan4-Feb-03 7:59 
GeneralRe: ADO.NET -vs- ODBC.NET Pin
Wayne Phipps9-Feb-03 4:52
Wayne Phipps9-Feb-03 4:52 
GeneralRe: ADO.NET -vs- ODBC.NET Pin
Bruce Duncan9-Feb-03 6:02
Bruce Duncan9-Feb-03 6:02 
GeneralRe: ADO.NET -vs- ODBC.NET Pin
David Salter4-Feb-03 10:17
David Salter4-Feb-03 10:17 
GeneralListing DB2 Servers on the Network Pin
Vasudevan Deepak Kumar3-Feb-03 23:35
Vasudevan Deepak Kumar3-Feb-03 23:35 
GeneralDefault form in Access 2000 Pin
56789012343-Feb-03 20:56
56789012343-Feb-03 20:56 
GeneralRe: Default form in Access 2000 Pin
David Wulff4-Feb-03 1:11
David Wulff4-Feb-03 1:11 
GeneralRe: Default form in Access 2000 Pin
56789012344-Feb-03 2:05
56789012344-Feb-03 2:05 
GeneralDoes anyone have any tutorials on using SQL with C++.. Pin
IrishSonic3-Feb-03 11:09
IrishSonic3-Feb-03 11:09 
GeneralRe: Does anyone have any tutorials on using SQL with C++.. Pin
karl_w4-Feb-03 0:08
karl_w4-Feb-03 0:08 
GeneralRe: Does anyone have any tutorials on using SQL with C++.. Pin
David Wulff4-Feb-03 2:21
David Wulff4-Feb-03 2: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.