ASP.NET
Latest stuff about Microsoft ASP.NET v1.x & v2.x.
Latest How Tos
Posted on: 5/08/2008
In this article, we will describe how to manually initialize a custom membership provider.
Posted on: 2/06/2008
This article will show some ways of checking for null values in a DataTable.
Posted on: 1/29/2008
This article will demonstrate how to create a DataTable manually and populate it with some random data.
Posted on: 12/06/2007
This article describe how to easily take your ASP.NET 2.0 web application offline.
Posted on: 12/04/2007
In this article, we will describe how to separate your connection strings and appSettings into external files from your web.config or app.config.
Posted on: 11/28/2007
This article will show you how to get the client's computer name that is calling your web service.
Posted on: 11/26/2007
This article will show you one way of overcoming the 32k character limitation of the event log. The sample code in this article can also be easily retrofitted to used the enterprise library.
Posted on: 11/26/2007
This article will demonstrate how to divide an integer number and round it up.
Posted on: 11/21/2007
The Enterprise Library Logging Application Block by default will log the timestamp in UTC time. In the Enterprise Library ver 3.0 and earlier, if you wanted it log the local server time, you can override the FormatToken method and implement you you custom logic. If you use the Enterprise Library 3.1, this is a very easy change which we will describe in this article.
Posted on: 11/15/2007
This article will show you how to remove all HTML tags from a string using regular expressions.
Latest Shortcuts
Posted on: 6/16/2008
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 on: 1/29/2008
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 on: 11/19/2007
Does your ASP.NET 2.0 application sends email, here is a shortcut to configure the SMTP settings in the web.config.
Posted on: 8/01/2007
A shortcut way of writing a condition statement in VB.NET
Posted on: 7/23/2007
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 on: 5/28/2007
Parsing text strings into dates is even more easier in ASP.NET 2.0.
Posted on: 4/24/2007
Here is a quick way in the ASPX file to set a control property to read from the resource file.
Posted on: 4/17/2007
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 on: 4/11/2007
Shortcut to test for null or empty string in ASP.NET 2.0
Posted on: 3/17/2007
Conditional (Ternary) Operator (?:) in C#
Latest Errors
Posted on: 12/05/2007
If you are using the Microsoft Oracle provider to call an Oracle Stored Procedure and passing a lot of data to a CLOB parameter, you get the following exception: ORA-01460: unimplemented or unreasonable conversion requested. This article will describe how to fix this.
Posted on: 8/20/2007
When you have a collection of objects with nullable datatype members, they don't get rendered when binding to a GridView automatically.
Posted on: 8/13/2007
This article is about the OneWay property effects on a web service method
Posted on: 7/18/2007
This article will help you troubleshoot why the OnSelectedIndexChanged Event is not firing for a DropDownList.
Posted on: 6/06/2007
This error occurs when trying to access the session object inside a HttpHandler.
Posted on: 5/25/2007
After writing to the MemoryStream object, the MemoryStream object seems to have nothing in it when trying to use it. This article will describe how to resolve this issue.
Posted on: 5/16/2007
When trying to retrieve a QueryString value with plus signs, the plus signs are automatically converted to a space. This article will describe how to resolve this problem.
Posted on: 4/24/2007
A constant value is expected when using a switch statement in c#
Posted on: 4/23/2007
This error occurs when you are trying to dynamically bind a label to a ListItem of a DropDownList in the ASPX page.
Posted on: 4/12/2007
Invalid URI: The Uri scheme is too long.