Hi,
Yes, DataView is not threadsafe.
But there is another problem. If this view is data bound then modifying its
properties through non UI thread will affect bound controls and thus it will
case strange errors (because UI controls can be modified only through the
same thread that created them).
--
Miha Markic [MVP C#]
RightHand .NET consulting & development
www.rthand.com
Blog:
http://cs.rthand.com/blogs/blog_with_righthand/
<tr**************@yahoo.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
hi all
I am having application in c# which is using dataview.
my problem is i have one global dataview which i can use through the
application.
I am creating 2 threads in which i am setting rowfilter property of
this global view.
My question is when i am starting 2 threads at the same time then at a
time of setting rowfilter proerty should i have to use synchronization
object on it or it will work properly?
any help will be appreciated.
thanks in advance.