Click here to Skip to main content
16,006,013 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi friends,

can we have more than one .cs file for .aspx page?

can we have .aspx page without .cs file?

can we share single .cs file among multiple .aspx pages? if so how?

Thank you
Posted

1 solution

Yes you can.

1. Use a partial class see:http://msdn.microsoft.com/en-us/library/wa80x488(v=vs.90).aspx

2. I can use asp.net without codebehind see: http://stackoverflow.com/questions/563585/asp-net-page-without-a-code-behind

3. Change codebehind property in first line of asp.net
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900