|
Delete a Directory
|
Total Hit (1624) |
A code snippet used to delete a directory and all of its contents
|
Rating
|
|
|
How to prevent page caching in ASP.net
|
Total Hit (2735) |
Web page caching is done by your browser in order to improve the performance of webpages but sometimes its required to load fresh copy of page everytime you hit the URL even using back button of your browser. In ASP.net this can be done by the following code.
«code LangId=2»Private Sub Page_Load(
....Read More |
Rating
|
|
|
Don't preserve viewstate when doing a Server.Transfer
|
Total Hit (2987) |
The ASP.NET version of the Server.Transfer method accepts a second argument which, if true, causes the query string and all the form's fields to be transferred and made available to the destination page. However, when the destination page executes, the following error is likely to be generated:
....Read More |
Rating
|
|
|
Sorting in a DataList Control
|
Total Hit (923) |
It is relatively simple to add sorting to the DataList control if you don't mind link buttons residing outside the control. In this article we will demonstrate one way this can be done. There will not be a lot of verbage in this article as the code will pretty much speak for itself. First we will ta
....Read More |
Rating
|
|
|
|
|
|
|
WebDrive with ASP.NET (C#)
|
Total Hit (680) |
This article will present a full ASP.NET web application written in pure C#. You'll see how to upload a file, use XML to store and read configuration, control the bandwidth used by the web site and adjust it to your needs.
|
Rating
|
|
|
|
Creating a Pageable, Sortable DataGrid
|
Total Hit (1129) |
Learn how to build a sortable DataGrid and a pageable DataGrid; learn the steps necessary to combine these two techniques into creating a single sortable, pageable DataGrid. The DataGrid Web control allows ASP.NET developers the ability to quickly and easily display data. In addition to being able t
....Read More |
Rating
|
|
|
|
|
|
How ASP.NET Web Pages are Processed on the Web Server
|
Total Hit (542) |
Have you ever wondered, precisely, what happens on the Web server when a request for an ASP.NET Web page comes in? How does the Web server handle the incoming request? How is the HTML that is emitted to the client generated? What mechanisms are possible for us developers to work with an incoming req
....Read More |
Rating
|
|
|
Use the DataReader to Process Data One Row at a Time
|
Total Hit (5407) |
At times you may find the need to do some processing of rows from a database before they are displayed to the user. We all remember processing classic ado recordsets one row at a time. You can do the same thing with .Net's DataReader which produces a very fast forward-only stream of database table d
....Read More |
Rating
|
|
|
|
|
Finding the Control ID
|
Total Hit (917) |
How do you find the control ID of the control that made the Postback? Here you go...
|
Rating
|
|
|
|
|
|
|
|
Obtaining Data Based Upon Multiple Selections From a ListBox...
|
Total Hit (954) |
This article will demonstrate how to allow multiple selections in a ListBox control and how to build a WHERE clause on the fly that will fill a DataGrid with data based upon the selections made in the ListBox. There is really no new ground broken here. The article just demonstrates a technique or tw
....Read More |
Rating
|
|
|
|
Find available server controls?
|
Total Hit (503) |
«b»Server HTML Controls«/b»
HTML server controls are HTML elements exposed to the server so you can program against them. HTML server controls expose an object model that maps very closely to the HTML elements that they render.
«LI»HtmlAnchor
«LI»HtmlButton
«LI»HtmlForm
«LI»HtmlGenericC
....Read More |
Rating
|
|
|
|
|
Sending Mobile Photo Messages to your Website
|
Total Hit (674) |
Using MMS gateways your mobile provider is able to let you send mobile phone camera photos to an email address. This article shows you how to automatically extract them and post them on your website
|
Rating
|
|