protected void Page_Load(object sender, EventArgs e) { //file1.Visible = false; _usersession = new UserSession(); _webcontext = new WebContext(); _for = new FolderRepository(); re = new Redirector(); if (_usersession.CurrentUser != null) { countA.Text=(_for.GetFoldersByAccountID1(_usersession.CurrentUser.AccountID)).Count.ToString(); // pn.Height = 200 * (int.Parse(countA.Text)); } }