473,396 Members | 2,076 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Update a DataSet using multiple threads? C#

Can I access/update a single dataset in a multi-threaded envirnment
using C#?

I'm assuming this is possible, but don't know how to go about it.
This scenario is hypothetical so I can't give any specific code
examples. I believe there is an article about in using VB.NET, but I
haven't seen it in a while.

If anyone has any insights into this I would appreciate it!
Nov 15 '05 #1
2 3225
Hi Scott,

From the help:
Thread Safety
This type is safe for multithreaded read operations. You must synchronize
any write operations.

HTH,

--
Miha Markic - RightHand .NET consulting & development
miha at rthand com
"Scott Tenorman" <co*************@yahoo.com> wrote in message
news:86**************************@posting.google.c om...
Can I access/update a single dataset in a multi-threaded envirnment
using C#?

I'm assuming this is possible, but don't know how to go about it.
This scenario is hypothetical so I can't give any specific code
examples. I believe there is an article about in using VB.NET, but I
haven't seen it in a while.

If anyone has any insights into this I would appreciate it!

Nov 15 '05 #2
Thanks for the help, I will investigate further.
"Miha Markic" <miha at rthand com> wrote in message news:<OA**************@TK2MSFTNGP10.phx.gbl>...
Hi Scott,

From the help:
Thread Safety
This type is safe for multithreaded read operations. You must synchronize
any write operations.

HTH,

--
Miha Markic - RightHand .NET consulting & development
miha at rthand com
"Scott Tenorman" <co*************@yahoo.com> wrote in message
news:86**************************@posting.google.c om...
Can I access/update a single dataset in a multi-threaded envirnment
using C#?

I'm assuming this is possible, but don't know how to go about it.
This scenario is hypothetical so I can't give any specific code
examples. I believe there is an article about in using VB.NET, but I
haven't seen it in a while.

If anyone has any insights into this I would appreciate it!

Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: PAUL EDWARDS | last post by:
I have a windows form that is bound to a datatable. In VB6 I could just update the field contents and it would be updated in the database, however if I update the text property of the control from...
1
by: Wing | last post by:
Hi all, I have created 2 tables in sql database and join these 2 tables before assign the result to the dataset, and display the result in datagrid. Everything is fine up to this point. The...
9
by: jaYPee | last post by:
I have search a lot of thread in google newsgroup and read a lot of articles but still i don't know how to update the dataset that has 3 tables. my 3 tables looks like the 3 tables from...
1
by: Foef | last post by:
When I have a stored procedure, with multiple tables in MS Access, in a dataset and I change it in my DataGrid, I get the next message when I want to update my DataSet: ...
8
by: Zorpiedoman | last post by:
I keep getting a concurrency exception the second time I make a change and attempt to update a dataadapter. It appears this is by design, so there must be something I can do to avoid it. ...
30
by: Charles Law | last post by:
Here's one that should probably have the sub-heading "I'm sure I asked this once before, but ...". Two users are both looking at the same data, from a database. One user changes the data and...
1
by: Hexman | last post by:
Hello All, What I'm trying to do is update a child record using a parent-child relation. I want to find out if it is faster than than doing multiple selects. Anyways, I've created a dataset...
5
by: Bogdan | last post by:
Hi, I have a stored procedure that uses JOINs to return columns from multiple tables. I also have another stored proc that that takes a series of params and updates multiple tables. I used the...
2
by: BobLewiston | last post by:
Some of you may have seen my earlier thread “PasswordHash NULL problem”. I’ve started a new thread because investigation has shown that the problem is actually quite different than I previously...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.