how can I access my public method from aspx code behind to a public class?
<p>I have a public method in my aspx code behind called PhotoDatabinding, what it does is to bind the database to List view control.</p>

<pre><code>public void PhotoDatabinding()
{


lnqPhotoDataContext dbCon = new lnqPhotoDataContext();
var res = from p in dbCon.Photos orderby p.PhotoID descending select new {          p.PhotoID, p.FileName };

    lvSubAlbumDB.DataSource = res;
    lvSubAlbumDB.DataBind();

 }
</code></pre>

<p>Now, inside my public class called Process I have a a method called UpdateSave. my question is how can I access the PhotoBinding method so that it will look like this</p>

<pre><code>public class Process
{
public UpdateSave()
{
    ....some code
    PhotoDatabinding();

}

}
</code></pre>

<p>Thanks and appreciate all your help and suggestions.</p>
