I want to know why we use code behid approch. if there is any advantage, then do I like the share? since we know that there are two methods for writing server-side code for aspx.file
- code-behind approch, in which we usually separate our aspx.cs server code from an aspx file
- can we directly write server side code on an aspx page by writing // server side code above the html tag?
so I know that this is any genuine excuse that provides encoding support behind.
source
share