-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Mrinal
Message 2 in Discussion

Hi ,   Difference between the early and late binding is as follows :   1. Early 
Binding - Schema / structure / object type is defined at the compile time / design 
time , amin complete information is available is available at design time and so it 
helps in avoiding lot of run time errors and good amount of work can be accomplished 
through intellisense generated at compile time . for e.g : strongly typed dataset or 
infact any defined class object like : ArrayList arr = new Arraylist( ) ;   Infact due 
to all this performance is bound to enhance .   2. Late Binding - Late binding is 
exactly opposite of the early binding , here the schema / structure /  object type is 
not defined at compile time and such things are always resolved at runtime , so , 
performance may be hit depending on amount of work done , but however in some cases 
there's no option for e.g: Normal Dataset class which is nothing but a container with 
no schema , so when it gets filled up at runtime then only schema gets generated and 
values values have to be accessed using classes like datateable , datarows etc. Infact 
base class object is also a good example : Object obj = string value ; string s = 
(string) obj   and this will get resolved only at runtime and in case it doesn't 
contains string then it will lead to an exception , which can avoided in early binding 
.   In case of reflection also it resolves assembly contents at runtime .   i think 
it's good enough basic intro , in case of any other doubt revert back ,   regards ,   
Mrinal    

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to