Anda di halaman 1dari 3

Which component can be used for reporting in ASP.Net? 1. 2. 3. 4.

HTML Table Data Grid Data Repeater All of the above

Answer: 4

Please brief not about XSD,XSLT X!L. XSD stands for XML S he!a Definition."t define the str# t#re of the XML file and the ele!ents and attrib#tes it ontains.The datat$pe of the ele!ents.So that %hen # pop#late XML data into dataset& the dataset an treat ele!ents differentl$ based on their t$pe."f XSD is not present dataset treats all ele!ents as strin' t$pe. XSLT stands for XML st$le sheet lan' tranfor!ation."t is lan' #sed for transfor!in' XML data in one for!at to another for!at.()a!ple XML data into HTML for!at. XSLT #ses X*ath to identif$ the ele!ents in XML do and transfor! those to desired for!at "f #e remo$e #eb.config or machine.config from the application then, "s this application #ill #or%s? "f %e re!ove the %eb. onfi' file fro! the appli ation it %ill %or+. #nless it doesnt have the thin's li+e onne tionstrin' et . &o# to reduce the #idth of te'tbo' in (dit)ommand)olumn of Data*rid? onvert te)tbo) ol#!n into a te!plate then it lets $o# han'e its %idth What is e$ent bubbling? (vent ,#bblin' is nothin' b#t events raised b$ hild ontrols is handled b$ the parent ontrol. ()a!ple- S#ppose onsider data'rid as parent ontrol in %hi h there are several hild ontrols.There an be a ol#!n of lin+ b#ttons. (a h lin+ b#tton has li + event. "nstead of %ritin' event ro#tine for ea h lin+ b#tton %rite one ro#tine for parent %hi h %ill handlde the li + events of the hild lin+ b#tton events.*arent an +no% %hi h hild a ta#ll$ tri''ered the event.That thr# ar'#!ents passed to event ro#tine. . Happ$ pro'ra!!in'. What is DLL hell? *revio#sl$& before ./(T& this #sed to be a !a0or iss#e. .DLL Hell. refers to the set of proble!s a#sed %hen !#ltiple appli ations atte!pt to share a o!!on o!ponent li+e a d$na!i lin+ librar$ 1DLL2 or a 3o!ponent 4b0e t Model 134M2 lass. "n the !ost t$pi al ase& one appli ation %ill install a ne% version of the shared o!ponent that is not ba +%ard o!patible %ith the version alread$ on the !a hine. Altho#'h the appli ation that has 0#st been installed %or+s %ell& e)istin' appli ations that depended on a previo#s version of the shared o!ponent !i'ht no lon'er %or+. "n so!e ases& the a#se of the +atnabhumi 1

proble! is even !ore s#btle. "n !an$ ases there is a si'nifi ant dela$ before a #ser dis overs that an appli ation has stopped %or+in'. As a res#lt& it is often diffi #lt to re!e!ber %hen a han'e %as !ade to the !a hine that o#ld have affe ted the appli ation. A #ser !a$ re!e!ber installin' so!ethin' a %ee+ a'o& b#t there is no obvio#s orrelation bet%een that installation and the behavior the$ are no% seein'. The reason for these iss#es is that version infor!ation abo#t the different o!ponents of an appli ation aren5t re orded or enfor ed b$ the s$ste!. Also& han'es !ade to the s$ste! on behalf of one appli ation %ill t$pi all$ affe t all appli ations on the !a hine. What is the difference bet#een Ser$er.Transfer and +esponse.+edirect? Wh, #ould " choose one o$er the other? Server.Transfer is #sed %hen redire tin' the %ebpa'e %ith in the sa!e appli ation %hereas Response.Redire t is appli able to%ards the redire tion of %ebpa'e bet%een 2 appli ations Response.Redire t %ill instr# t bro%ser to all a parti #lar %ebpa'e. This %ill in rease one re6#est and one response bet%een the lient and server. List out controls #hich doest not ha$e e$ents line and shape ontrols What method do ,ou use to e'plicitl, %ill a user s session? session.abandon7to +ill all session.re!ove7to spe ite! What does the -(nable.ie#State- propert, do? Wh, #ould " #ant it on or off? "n Dot /et State of 4b0e ts83ontrols is stored in hidden field na!ed 9:ie%State this is done a#to!ati all$ b$ dot net life ti!e of this ontrol is life of pa'e 1i.e till %e are doin' *ost,a + to sa!e pa'e2 thro#'h (nable:ie%State;tr#e 8false %e an define %hether %e have to !aintain val#es of ontrol in hidden fields %hen pa'e is posted ba + a'ain and a'ain Diff bet#een Web /ser )ontrol and Web )ustom )ontrol. <eb #ser ontrols-1. (asier to reate 2. Li!ited s#pport for ons#!ers %ho #se a vis#al desi'n tool 3. A separate op$ of the ontrol is re6#ired in ea h appli ation 4. 3annot be added to the Toolbo) in :is#al St#dio =. Good for stati la$o#t <eb 3#sto! 3ontrols-1. Harder to reate2. >#ll vis#al desi'n tool s#pport for ons#!ers3. 4nl$ a sin'le op$ of the ontrol is re6#ired& in the 'lobal asse!bl$ a he4. 3an be added to the Toolbo) in :is#al St#dio=. Good for d$na!i la$o#t

+atnabhumi

"n #hat order do the e$ents of an ASPX page e'ecute. As a de$eloper is it important to undertsand these e$ents? 1. 4b0e t "nitiali?ation 2. Load :ie%state Data 3. Load*ostData *ro esses *ostba + Data 4. 4b0e t Load =. Raise *ost,a + 3han'e (vents @. *ro ess 3lient7Side *ost,a + (vent A. *rerender the 4b0e ts B. :ie%State Saved C. Render To HTML 1D. Disposal &o# do ,ou create a permanent coo%ie? Settin' a per!anent oo+ie is si!ilar to Session oo+ie& e) ept 'ive the oo+ie an e)piration date too. "t is ver$ o!!on that $o# don5t spe if$ an$ arbitrar$ e)piration date& b#t instead e)pire the oo+ie relative to the #rrent date& #sin' the DateAdd12 f#n tion. Response.3oo+ies1./a!e.2 ; .!$3oo+ie. Response.3oo+ies1./a!e.2.()pires ; DateAdd1.!.& 1& /o%122 Which method do ,ou use to redirect the user to another page #ithout performing a round trip to the client? Server. Transfer #hat is the difference bet#een Ser$er.Transfer01 and Ser$er.('ecute01? Server.Transfer12 ; Transfer ontrol fro! #rrent pa'e to another pa'e li+e as Response.Redire t12. Server.()e #te12 3ontrol 'oto another &pro ess it and o!e ba + to sa!e pa'e . Li+e as s#bro#tine 1S#b pro'ra!2.

+atnabhumi

Anda mungkin juga menyukai