public partial class CityDetailPage : System.Web.UI.Page
{
 protected List<CityPhotoGallery> cityPhotoGallery;--It is allowed
 protected var cityPhotoGallery; --IT IS NOT ALLOWED
 protected void Page_Load(object sender, EventArgs e)
 {
 }
}
I know how to pass normal variable(whose data Types are known) from aspx.cs page to .aspx page, but in my current senerio a have a var type variable so how i pass this variable to .aspx page from .aspx.cs page
 
     
    