devxlogo

Tip Bank

Making Tables Read-only in Oracle

In Oracle, you can only control read/write capability for an entire tablespace, not for a single table within a tablespace. So, if you want all the tables in a tablespace

Modifying Client JavaScript Code at Runtime

You can make new tags/components using JavaScript blocks. Simply include a script iterating through all the script blocks in your page: etc… As soon as the browser renders the scriptblock,

Creating and Using Resource Files

Resource files are used in .NET to store culture-specific data all in one place, separate from the code. For example, suppose you are developing a multi-language Web site and you

Send Email in C# Code

In order to send email in C# code, do the following: // create mail message objectMailMessage mail = new MailMessage();mail.From = “”; // put the from address heremail.To = “”;

Improve Performance by Reducing Column Size

During design time, you generally allocate some space to the columns by default. When it comes to tweaking performance, you may try to go back to the design and reduce

Using a Function Call as an Lvalue

An Lvalue is an expression that can appear on the left-hand side of an equals sign. Likewise, an Rvalue expression appears on the right-hand side of the equals sign. Therefore