Friday 20 May 2011

Asp.Net: Using Templated Controls Programmatically

Question:
How to add templates programmatically to a templated control?
How to programmatically set templates, events, databinding on a repeater in asp.net?

Sunday 8 May 2011

Dot.Net: How to Delete Accents from String

Question:
What is an easy way to delete accents from a string in CSharp ?
How to remove diacritic marks from characters in CSharp ?
How to remove accent marks from a string?
How to transform a string containing accents into a string without accents? (Each accented letter is transformed into its accent-less equivalent)

Thursday 5 May 2011

Dot.Net: Get Letter String from ASCII index

Question:
How to get the string for a given ASCII value in CSharp ?
How to write a list of letters from A to Z in a loop in c# ?

Dot.Net: Asynch Method Call Sample

Question:
Do you have an example of a standard asynchronous method call with callback in CSharp ?
Any event driven asynchronous sample in dot.net ??

Tuesday 3 May 2011

Dot.Net: Compare strings ignore case

Question:
How to compare two strings and ignore the case?
How to compare string upper and lower mixed?

Dot.Net: Unit Test VS2010 Write Output

Question:
How to write to console / output from a UnitTests method in Visual Studio 2010 ?