This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
' | |
' An elegant way of converting a DataTable into an HTML table using VB.NET. | |
' | |
' This uses a feature of VB.NET called XML Literals: | |
' http://msdn.microsoft.com/en-us/library/bb384629.aspx | |
' | |
' This allows you to write HTML/XML directly in the code, and use ASP.NET-style | |
' interpolation tags to include LINQ expressions in the body. | |
' | |
' A couple notes: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Auto-expanding textbox directive for single-line <input> controls. | |
* | |
* This is adapted from: https://gist.github.com/thomseddon/4703968 | |
* | |
* See the above link for auto-growing multiline <textarea> controls, a similar but slightly | |
* different objective. | |
* | |
* The original, pure jQuery (and non-AngularJS) version of this can be found here: | |
* http://jsbin.com/ahaxe |