SqlTransaction problem?

  • Thread starter Thread starter perspolis
  • Start date Start date
P

perspolis

I'm using SqlTransaction in my application..
I use sqlCommand1.BeginTransaction(IsolationLevel.ReadUncommited)

when I want to update some tables with this transaction,and
at the same time I'm using a sqlcommand to select some rows from those table
I got Timeout Error for select command..and none of operations is done.

I don't know how can I do that??

thanks in advance
 
No,I didn't
Miha Markic said:
Are you using the same transaction for doing selects?

--
Miha Markic [MVP C#]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

perspolis said:
I'm using SqlTransaction in my application..
I use sqlCommand1.BeginTransaction(IsolationLevel.ReadUncommited)

when I want to update some tables with this transaction,and
at the same time I'm using a sqlcommand to select some rows from those
table
I got Timeout Error for select command..and none of operations is done.

I don't know how can I do that??

thanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top