Sunday, January 9, 2011

what is manualreset event and auto reset event.


the meaning of th manual reset event an auto reset eventis.
both the events are the synchronise object such as monitor and semaphoresBoth of them can be used across processes as
these are kernel objects.

what is difference between %type and %rowtype

==>The %ROWTYPE attribute provides a record type that represents a row in a table.

    Create Type is used to create a type with multiple variables and is stored in the database.

==>%ROWTYPE is to be used whenever query returns a row of Database Table.

    RECORD TYPE is to be used whenever query returns a columns of different Tables.

    Eg :  TYPE <TYPE_NAME> IS RECORD (Name  Varchar2,No    Number);

What is Reader Writer Locks?


the use of the reader writer lock is as follow.
A reader/writer synchronization lock can and should be used to improve performance and scalability. A reader/writer lock ensures that only one thread can write to a resource at any one time and it allows multiple threads to read from a resource simultaneously as long as no thread is writing at the same time.

what is wi-fi and full form of wi-fi


-->Wi-Fi is a trademark of the Wi-Fi Alliance that may be used with certified products that belong to a class of wireless local area network (WLAN) devices based on the IEEE 802.11 standards.
-->A communication system that uses low-power microwave radio signals to connect laptop computers, PDAs, and web-enabled cell phones to the Internet.
-->full form of wi-fi is  Wireless fidelity.

What is AJAX


AJAX means.
AJAX = Asynchronous JavaScript and XML.

AJAX is not a new programming language, but a new way to use existing standards.

AJAX is the art of exchanging data with a server, and update parts of a web page - without reloading the whole page

how to consume web service in atlas


There are two ways by which we can consume a web service one is using ‘Services’ tag and the other is by using
properties defined in Ajax components like ‘ServicePath’ , ‘ServiceMethod’ and ‘ServiceURL’. 
We can define the web service URL in the ‘Services’ tag using ‘atlas:ServiceReference’ tag. ‘Path’ property defines the web
service URL. If we also want to generate javascript proxy we need to set the ‘GenerateProxy’ to true. We have also set
one more property i.e. ‘InlineProxy’ property needs to be true so that the proxy code is available to the client javascript.
<atlas:ScriptManager IP="ScriptManager1" runat="server" EnablePartialRendering="True">
<Services>
     <atlas:ServicesReference InlineProxy="true" GenerateProxy="true" Path="webservice.asmx"/>
</Services>
</atlas:ScriptManager>

Hashtable in c#.net


A Hashtable is a collection of key-value pairs. In .NET, the class that implements a hash table is the Hashtable class.
Elements can be added to the hash table by calling the Add method passing in the key-value pairs that you want to add.
The objects used as keys must implement
Object.Equals and Object.GetHashCode methods.
The value can be any type.