|
|
ASP.NET
Latest stuff about Microsoft ASP.NET v1.x & v2.x.
If your getting the following error in ASP.NET Crystal Report or Tnsping
ora-12154: TNS:could not resolve service name
Here's a possible solution.
Posted by LazyAssCoder on Nov 26, 2008
1999 Views
This article provides a possible solution to fix the following exception: System.Security.Cryptography.CryptographicException - Keyset does not exist or Access is denied.
Posted by LazyAssCoder on Nov 11, 2008
4143 Views
In this article we will show you how to output an object's data to an XML string.
Posted by LazyAssCoder on Nov 10, 2008
665 Views
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
In this article, we will describe how to manually initialize a custom membership provider.
Posted by LazyAssCoder on May 08, 2008
1618 Views
This article will show some ways of checking for null values in a DataTable.
Posted by LazyAssCoder on Feb 06, 2008
649 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
This article will demonstrate how to create a DataTable manually and populate it with some random data.
Posted by LazyAssCoder on Jan 29, 2008
1580 Views
This article describe how to easily take your ASP.NET 2.0 web application offline.
Posted by LazyAssCoder on Dec 06, 2007
302 Views
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 by LazyAssCoder on Dec 05, 2007
2677 Views
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 by LazyAssCoder on Dec 04, 2007
267 Views
This article will show you how to get the client's computer name that is calling your web service.
Posted by LazyAssCoder on Nov 28, 2007
282 Views
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 by LazyAssCoder on Nov 26, 2007
208 Views
This article will demonstrate how to divide an integer number and round it up.
Posted by LazyAssCoder on Nov 26, 2007
173 Views
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 by LazyAssCoder on Nov 21, 2007
2813 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
This article will show you how to remove all HTML tags from a string using regular expressions.
Posted by LazyAssCoder on Nov 15, 2007
241 Views
This article will show you how to add a row count column to a GridView. This technique can also be applied to a DataList or a Repeater.
Posted by LazyAssCoder on Sep 07, 2007
2575 Views
When you have a collection of objects with nullable datatype members, they don't get rendered when binding to a GridView automatically.
Posted by LazyAssCoder on Aug 20, 2007
172 Views
This article will show you how to convert an array of object to a generic list.
Posted by LazyAssCoder on Aug 15, 2007
9992 Views
|
|