|
How to clear cached objects programatically?
|
Total Hit (2675) |
When you use cached output on your ASP.net page it won't be refreshed until times out or you recompile the web application. During development you might need to refresh your content frequently for testing purpose and then you can face problem because of cached output. Here is a simple solution to th
....Read More |
Rating
|
|
|
|
|
Showing a graphical checkmark on DataGrid's boolean columns
|
Total Hit (2606) |
While working with template-based controls such as the Repeater, DataList or DataGrid, it often happens that you don't want to show just plain text as it is retrieved from the data source, but want to interpret the data and represent it in other ways. For example, you may want to show a graphical ch
....Read More |
Rating
|
|
|
Reduce Server Too Busy errors with the httpRuntime tag
|
Total Hit (2437) |
The httpRuntime tag in ASP.NET configuration files lets you determine several features of ASP.NET at the machine or site level, including the how ASP.NET uses multi-threading. Here's the complete syntax for this tag:
«Code LangId=4»
<httpRuntime executionTimeout="seconds"
maxReques
....Read More |
Rating
|
|
|
|
Databinding to multi-dimensional arrays
|
Total Hit (1746) |
Someone asked whether it was possible to data bind to a multi-dimensional array, and if so how. Below is a simple example that demonstrates how to do so, it is not a super inspired scenario but you get the idea. Note that in addition to handling arrays, the concept can be applied to any hierarchica
....Read More |
Rating
|
|
|
|
|
Caching with ASP.NET, Part-2
|
Total Hit (3041) |
In Part 1 we looked at how to use Output Caching and Fragement Caching of an ASP.NET Web page. These two techniques cached either the full HTML output of an ASP.NET Web page, or a portion of the HTML output of an ASP.NET Web page (by caching the HTML output of a User Control). In this part, we'll ex
....Read More |
Rating
|
|
|
|
Exploring the Internet Explorer WebControls
|
Total Hit (839) |
Treeview, Toolbar, and TabStrip controls have been a part of client-server applications for years. They are not as common on the web due to the dhtml involved. Actually, for the most part, Microsoft has implemented dhtml for these controls only if you are running IE 5.5 and above. Downlevel browsers
....Read More |
Rating
|
|
|
Include a Calculated Column in a DataGrid
|
Total Hit (515) |
In this article you will learn how to include a calculated column in a DataGrid. A calculated column generally contains some value calculated from one or more columns of data that are included in the data store. It could be based on multiplying or dividing a column value by some other value, or it c
....Read More |
Rating
|
|
|
|
Use MTS Transactions?
|
Total Hit (824) |
A transaction is an operation or set of operations that succeeds or fails as a logical unit. A good example of a transaction is the transfer of funds from one bank account to another. In this case, the funds must be debited from the first account and credited to the second account before the operati
....Read More |
Rating
|
|
|
How To: Use SSL to Secure Communication with SQL Server 2000
|
Total Hit (1084) |
It is often vital for applications to be able to secure the data passed to and from a SQL Server database server. With SQL Server 2000, you can use SSL to create an encrypted channel. This How To shows you how to install a certificate on the database server, configure SQL Server for SSL and to verif
....Read More |
Rating
|
|
|
|
|
DataGrid Demo
|
Total Hit (717) |
Using the ASP.NET DataGrid for fun and profit
|
Rating
|
|
|
|
|
Injecting Client-Side Script from an ASP.NET Server Control
|
Total Hit (1116) |
While, technically, all of an ASP.NET server control's functionality can be performed on the server-side, often the usability of a server control can be greatly enhanced by adding client-side script. In this article we'll examine two means by which server controls can emit client-side script. We'll
....Read More |
Rating
|
|
|
|
|
|
Including Subheadings in a Datagrid
|
Total Hit (993) |
A short while ago I was tasked with adding subheadings into a datagrid, something I have not tried to do, or even thought of doing prior to this assignment. Thus, the task was a little bit beyond my skillset. Having searched around the net for examples, I came up dry. I eventually solved this proble
....Read More |
Rating
|
|
|
Debugging an ASP.NET Web Application, Part I - Tracing
|
Total Hit (882) |
Bugs are a fact of the programmer's life. How can we deal with them efficiently? In this series of two articles I'm going to look at two main areas of finding and fixing errors in your program - Tracing and Debugging.
|
Rating
|
|
|
|
ASCX Control Parser
|
Total Hit (971) |
A program that allows you to convert .ascx User Controls into redistributable controls
|
Rating
|
|
|