by Chakkaradeep
27. August 2008 13:08
Today I downloaded RhinoMocks and referenced in my test project (Microsoft Visual Studio Testing Environment) and executed my unit tests.
My tests failed with the same error (for all tests). Visual Studio was kind enough to find that the RhinoMocks.dll which I downloaded is not trusted and cannot b...
[More]
3711a736-5a49-43da-ab54-47d4bfaa58f2|0|.0
Category: .NET
Tags: .net
by Chakkaradeep
18. August 2008 20:33
Today I had the need to have optional parameters in my SQL stored procedure. And It wasn't that complex to implement :)
Below is the code:
ALTER PROCEDURE [dbo].[GetSampleRequests]
@Org varchar(50),
@Type varchar(50),
@From DateTime,
@To DateTime
AS
BEGIN
&nb...
[More]
f43d0aa4-293f-4a24-9903-ee532a710c54|0|.0
by Chakkaradeep
16. August 2008 01:53
Recently I had the necessity to do cross-tab report with the SQL Server data. First thin that comes into everybody's mind is to use the PIVOT functionality in SQL Server. But, being a programmer, I am not that fluent in writing and managing complex queries. I was looking out for some .NET implementa...
[More]
62a8e8af-388f-44d6-a202-834a2aafca65|0|.0
Category: .NET
Tags: .net, sql