protected void btn_ViewPost_Click(object sender, EventArgs e) { Post post = PostsManager.GetByPostId(Convert .ToInt32(txt_postId.Text)); txt_postId.Text = post.Post_Content; }