The following method is supposed to peroform a dirty read on an open connection. There are no transactions. Where do I set IsolationLevel?
public string DoDi
Add another parameter to your stored procedure to indicate the isolation level you want the stored procedure to run with.
IF @isolevel = 0 SET TRANSACTION ISOLATION LEVEL read uncommitted; ELSE
Also I believe uncommitted needs two "t's" in it.