public UserInformationDataSet.ReplyDataTable GetReplyDataTable(object post_id)
 {
     UserInformationDataSet.ReplyDataTable rdt;
     UserInformationDataSetTableAdapters.ReplyTableAdapter rta;
     rta = new UserInformationDataSetTableAdapters.ReplyTableAdapter();
     rdt = rta.GetDataByPostId(Int32.Parse(post_id.ToString()));
     return(rdt);
 }
    protected void fReplyButton_Click(object sender, EventArgs e)
    {
        int      postId      = Int32.Parse(Request["id"]);
        DateTime dateOfReply = DateTime.Now;
        string   vUsername   = Session["username"].ToString();
        string   replyText   = fReplyTextBox.Text.Trim();

        UserInformationDataSetTableAdapters.ReplyTableAdapter rta;
        rta = new UserInformationDataSetTableAdapters.ReplyTableAdapter();
        rta.Insert(postId, vUsername, dateOfReply, replyText);
        Server.Transfer("ViewPostForm.aspx");
    }