Wednesday, 25 January 2012

SQL: Set Implicit Transactions SQL Server Manager

Question:
How to avoid or disable auto-commit for queries in SQLServer Manger?
How to set an implicit transaction scope for my queries? I want to commit them manually.

Tuesday, 22 November 2011

Asp.Net: Get Text in RadEditor from Telerik

Question:
How do I get the html text of the Telerik RadEditor with JavaScript, jQuery?

Monday, 26 September 2011

Asp.Net: Embed image in server control's assembly.

Question:
How to embed an image file  as an embedded resource in a server control assembly?
How to access an image from a server control assembly?

Asp.Net: Embed CSS in server control's assembly.

Question:
How to embed a CSS file in a server control assembly?
How to access style information (CSS) from a server control assembly?

Thursday, 22 September 2011

Dot.Net: How to write RSS date format in CSharp

Question:
In a RSS feed I need to write dates in the format RFC #822. How do I do this?
How to write a string in the RFC 1123 format??

Wednesday, 14 September 2011

Dot.Net: Generic List - test Subclass of IEnumerable

Question:
How to test if a given generic list type (e.g. List<>) implements an interface (e.g. IEnumerable<> or IEnumerable)?
How to check interface implementation for generic types? (IsSubclassOf does not work)

Tuesday, 23 August 2011

Asp.Net: Generate PDF from Web Page

Question:
How to convert Html to PDF for a web page with wkhtmltopdf in asp.net ?
How to generate PDF from HTML using wkhtmltopdf in .net?