Latest Posts
-
Convert SQL to Linq
Was looking to convert a complex SQL query and short on time, so came across this nifty little tool to automate the conversion! It even outputs and autobuilds necessary classes! At the time of this article supports all versions of… Continue reading
-
Strong Password Generator
Pretty good little web based site to generate strong passwords on the fly. Once I have some time to whip up a little tool to do the same I’ll be sure to post code here. (Requires javascript:) StrongPasswordGenerator References StrongPasswordGenerator,… Continue reading
-
String Formatting
Snippets below have been condensed from their original sources for brevity. See references for original articles. All examples are in C# .Net. My own little function: Format With extension method by James Newton-King: References James Newton-King, “FormatWith”,http://james.newtonking.com/archive/2008/03/27/formatwith-string-format-extension-method.aspx Continue reading
-
Winforms Databinding
Snippets below have been condensed from their original sources for brevity. See references for original articles. Dataset usage: Binding DataGridView: References: MSDN, “DataSet Class”, http://msdn.microsoft.com/en-us/library/system.data.dataset.aspx MSDN, “How to: Bind Data to the Windows Forms DataGridView Control”, http://msdn.microsoft.com/en-us/library/fbk67b6z.aspx Continue reading
-
MSSQL Quick Reference
Snippets below have been condensed from their original sources for brevity. See references for original articles. Great reference on joins: http://www.codeproject.com/Articles/33052/Visual-Representation-of-SQL-Joins Show all tables in specific database: (MSSQL equivalent of MySql “show tables”) Insert into: Insert if not exists: Trigger… Continue reading
-
Browser Safe Fonts
See below for a table of “browser safe fonts” which work well and have been tested with most browsers. This table is courtesy of Ampsoft. Windows fonts / Mac fonts / Font family Normal style Bold style Arial, Arial, Helvetica,… Continue reading
-
OAuth Specs and Protocol
The OAuth protocol defines a common data structure for communicating between websites. This relatively new format is increasing in popularity and used in many different sites including Facebook and Google. Microsoft has even added support for it in its latest… Continue reading
-
Quick Silverlight References
Most of the links below are relatively introductory, but they do serve as a quick refresher if it has been awhile since you have worked with Silverlight. Though not all of the links are specific to SL4, I would recommend… Continue reading
-
Bind Control to an Object in Windows Forms
Simple solution for basic binding in Windows Forms app. This would NOT be recommended if you are using ASP .Net, Silverlight, WCF, RIA or any other services to retrieve the data as these project types have much better support for… Continue reading