Wednesday, January 12, 2011

How to deal with "The underlying provider failed on Open" in Entity Framework

Please use using statement to include your access to Object Context:

            using (var ctx = new Entities())
Provides a convenient syntax that ensures the correct use of IDisposable objects.

How to set auto-width for dropdownlist in IE by JQuery

<select onmousedown="if($.browser.msie){'absolute';'auto'}" onblur="'';''">