|
|
Shortcuts
If your database is located in the App_Data folder of your web application. Here is a neat little shortcut for your Access Database ConnectionString.
Posted by LazyAssCoder on Jun 16, 2008
549 Views
We all had to at one point or another modify a file path and escape the slashes before pasting it into our code or into a database table. Using the @ symbol in front of the string will eliminate the need to modify the path.
Posted by LazyAssCoder on Jan 29, 2008
367 Views
Does your ASP.NET 2.0 application sends email, here is a shortcut to configure the SMTP settings in the web.config.
Posted by LazyAssCoder on Nov 19, 2007
149 Views
A shortcut way of writing a condition statement in VB.NET
Posted by LazyAssCoder on Aug 01, 2007
126 Views
In the pass, we used to write Javascript to allow hitting the Enter key to submit a form. Now in ASP.NET 2.0, Microsoft have introduced a simple way to set the default button.
Posted by LazyAssCoder on Jul 23, 2007
148 Views
Parsing text strings into dates is even more easier in ASP.NET 2.0.
Posted by LazyAssCoder on May 28, 2007
97 Views
Here is a quick way in the ASPX file to set a control property to read from the resource file.
Posted by LazyAssCoder on Apr 24, 2007
74 Views
An easy and clean way to apply one master page to an entire site is by adding the master page reference in the Web.config.
Posted by LazyAssCoder on Apr 17, 2007
104 Views
Shortcut to test for null or empty string in ASP.NET 2.0
Posted by LazyAssCoder on Apr 11, 2007
86 Views
Conditional (Ternary) Operator (?:) in C#
Posted by LazyAssCoder on Mar 17, 2007
105 Views
Coalesce Operator(??) in C#
Posted by LazyAssCoder on Mar 17, 2007
215 Views
|
|