title: How to call function from one page to another page in asp.net using c#
body: <p>I am new to .NET and Web development too. I have website written in c#. I want to declare one class and in that class i want to declare one function and that function want to call on second page. So how to write code for that?</p>
  
  <p>Say I have 2 pages. One is reference.aspx and second page is edituerprofile.aspx. In reference.aspx page i want to write class and in that class want to write one function. And that function want to call in edituserprofile.aspx.</p>
  
  <p>How to write this?
  pls help me.
  Thanx in advance</p>