• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 368
  • Last Modified:

ASP.Net calling functions from different pages

I have a function in an asp.net code behind page (C#). Can I call that function from a different page within the same application? If so, how can you do it?
0
dodgerfan
Asked:
dodgerfan
1 Solution
 
Dale BurrellCommented:
Create a class with your function, put it in app_code, then instanciate/call it from both pages.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now