Create a Hashtable The Hashtable object contains items in key/value pairs. The keys are used as indexes, and very quick searches can be made for values by searching through their keys. Items are added to the Hashtable with the Add() method. The following code creates a Hashtable named mycountries and four elements are added: <script [...]
Read More >>
ADO.NET is also a part of the .NET Framework. ADO.NET is used to handle data access. With ADO.NET you can work with databases. What is ADO.NET? ADO.NET is a part of the .NET Framework ADO.NET consists of a set of classes used to handle data access ADO.NET is entirely based on XML ADO.NET has, unlike [...]
Read More >>
We may use data binding to fill lists with selectable items from an imported data source, like a database, an XML file, or a script. Data Binding The following controls are list controls which support data binding: asp:RadioButtonList asp:CheckBoxList asp:DropDownList asp:Listbox The selectable items in each of the above controls are usually defined by one [...]
Read More >>
ASP Quick Reference from W3Schools. Print it, and fold it in your pocket. Basic Syntax ASP scripts are surrounded by <% and %>. To write some output to a browser: <html> <body> <% response.write(“Hello World!”) %> </body> </html> The default language in ASP is VBScript. To use another scripting language, insert a language specification at [...]
Read More >>
JAX is used to create more interactive applications. AJAX ASP Example The following example will demonstrate how a web page can communicate with a web server while a user type characters in an input field: Example Start typing a name in the input field below: First name: Suggestions: Try it yourself » Example Explained [...]
Read More >>
The Folder Object is used to return information about a specified folder. The Folder Object The Folder object is used to return information about a specified folder. To work with the properties and methods of the Folder object, you will have to create an instance of the Folder object through the FileSystemObject object. First; create [...]
Read More >>

Tip 8—Run IIS 6.0 (If Only for Kernel Caching) If you’re not running IIS 6.0 (Windows Server™ 2003), you’re missing out on some great performance enhancements in the Microsoft Web server. In Tip 7, I talked about output caching. In IIS 5.0, a request comes through IIS and then to ASP.NET. When caching is involved, [...]
Read More >>

Tip 4—ASP.NET Cache API One of the very first things you should do before writing a line of application code is architect the application tier to maximize and exploit the ASP.NET Cache feature. If your components are running within an ASP.NET application, you simply need to include a reference to System.Web.dll in your application project. [...]
Read More >>

Tip 1:Return Multiple Resultsets Review your database code to see if you have request paths that go to the database more than once. Each of those round-trips decreases the number of requests per second your application can serve. By returning multiple resultsets in a single database request, you can cut the total time spent communicating [...]
Read More >>
HTML elements can be changed using JavaScript, the HTML DOM and events. Change an HTML Element HTML DOM and JavaScript can change the inner content and attributes of HTML elements. The following example changes the background color of the <body> element: Example <html> <body> <script type=”text/javascript”> document.body.bgColor=”lavender”; </script> </body> </html> Try it yourself » [...]
Read More >>