Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What?s the difference between Codebehind="MyCode.aspx.cs"
andSrc="MyCode.aspx.cs"?

Answer Posted / venkat

Visual Studio uses the Code behind attribute to distinguish the page source or programming logic from the design. Also the src attribute will make the page compile on every request. That is the page will not be compiled in advance and stored in the bin as a dll instead it will be compiled at run time.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why web api is better than wcf?

1089


How to communicate via Remote proxy with Client? a)MarshalByRef b)Marshal by Value or Any thing else?

1996


What is the purpose of App_Code folder in ASP.NET? Why we this?

1245


What is a viewstate?

974


Explain diff. Betn dataset and recordset?

992


What is session and application variable in asp net?

901


Where the assembly is stored in asp.net?

995


What is the compiled object?

2060


How ViewstateMac works?

2820


What is true about application service provider?

908


How we implement web farm and web garden concept in asp.net?

993


How to Insert/Add in ASPXgridview

1019


How to bind all the binding controls in a page at once in ASP.NET?

963


How does output caching work in ASP.NET?

926


What is the difference between the get method () and post method ()?

976