Use IContentRepository when you plan on modifying content/data in the repository.
Use IContentLoader when you only plan on reading content/data in the repository.
Update [dbSomething2].[dbo].[tblScheduledItem]
SET IsRunning = 0
Where IsRunning =1
System.Diagnostics.StackTrace trace = new System.Diagnostics.StackTrace(ex, true);
Response.Write("Line: " + trace.GetFrame(0).GetFileLineNumber().ToString());