Tip Bank

DevX - Software Development Resource

Changing the Title in a Web Form

In ASP.NET, a web form’s title is determined by the HTML View’s Title attribute. However, there is no property in the default (or any other namespace) that helps you to

DevX - Software Development Resource

Hide Data and Implemention Details

Consider the following class: #include “OtherData.h”class MyClass { OtherData m_data;public: bool func(OtherData data);}; It seems as though this class hides its implementation details efficiently, but is actually doesn’t! The user

DevX - Software Development Resource

Changing the Locking Scheme on a Table

Using the right type of locking on tables is very important to ensure application scalability. Based on the data access pattern, you’d select either Data Page lock or Data Row

DevX - Software Development Resource

Grabbing Pixels from an Image

This tip shows you how to extract the pixels from an entire image or from a piece of an image. The following code shows the PixelGrabber class: PG=new PixelGrabber(IMG,0,0,L,H,pixels,0,L);try{ PG.grabPixels();}catch(InterruptedException