protected void Page_Load(object sender, EventArgs e) { if (IsPostBack) { BLL.BookManager bookManager = new BookManager(); List <Model.Book> list = bookManager.GetModelList(""); foreach (Model.Book VARIABLE in list) { bookManager.CreatHtmlPage(VARIABLE.Id); } } }