private void bindBlogs() { Blog blog = new Blog(); try { grdBlog.DataSource = blog.getAllBlogs(); grdBlog.DataBind(); } catch (Exception ex) { throw ex; } finally { blog = null; } }