What is a Resource data or Asp.net Data Resource?

What is a Resource data or Asp.net Data Resource?



In This post we are talking about Data resource in asp.net windows programming. As we know that with the .net framework we can create many types of application a windows programming is one of them.

Resource data or Asp.net Data Resource:

A windows programming’s very important part is Resources. The Resources are special data item associated with a windows program that typically defines portions of a program’s use interface. And data such as variables use in program.

Resources are stored in a program’s executable file and loaded only as needed. There are fallowing predefined types that should take care of most of your needs:

Icons:Small bit mapped images used in a number of places, such as the image that you click on to run a program within a directory. Icons use the .ICO file extension.

Cursor:A bitmap that represents the mouse pointer. Windows allows you to manipulate cursors in a number of ways. For example, you might want the cursor to change as it is moved from window to window. Cursors use the .CUR file extension.

String:The string resource might not be so obvious a choice for a resource. You might say, "I usually put strings into my program anyway, or in a data file." I can see your point. Nevertheless, Windows allows you to place a table of strings in your program as a resource and to access them via IDs.

Sound:Most Windows programs make at least minimal use of sounds via .WAV files. Hence, .WAV files can be added to your resources, too. This is a great way to keep people from hijacking your sound effects!


Bitmap:These are the standard bitmaps that you would imagine: a rectangular matrix of pixels in monochrome or 4-, 8-, 16-, 24-, or 32-bit format. They are very common objects in graphical operating systems such as Windows, so they can be added as resources also. Bitmaps use the .BMP file extension.








Comments