Thursday, March 22, 2012

what is the code behend?

some of the persons tell me i developed a project in asp.net code behand vb.net and some other persons tell me code behend c#.net

what is actual meaning of code hehend and

what is thedifference, we usingcode behend vb.net and C#.net

(My intention is what is advantages of we using code behand C#.net insted of VB.Net and vice versa)

thanks ®ards

Sridhar

The code-behind is the file which holds server-side code, and can be linked to your .aspx page. The advantages of using it is that it separates your design code(HTML) from your logic code which makes things easier to manage. The code-behind file is also compiled, so it will run faster.

There is an easy way to check if you are using VB or C#. Simply check the extension of your code-behind file. If it is .vb it is VB and if it is .cs, it is C#.

hope this helps,

sivilian

0 comments:

Post a Comment