protected void btnconv_Click(object sender, EventArgs e)
 {
     Whitfieldcore _wc = new Whitfieldcore();
     if (Page.IsValid)
     {
         Boolean isInsert = false;
         isInsert = _wc.InsertConversation(Convert.ToInt32(ViewState["EstNum"].ToString()), Request.Cookies["UserId"].Value.Trim(),txtconversation.Text.Trim(),txtcmtsDate.Text.Trim(),txtcmtsTime.Text.Trim());
         DataSet dsGridResults = this.GetConversationLog();
         this.PopulateDataGrid(dsGridResults, grdConvHist);
         if (isInsert)
             lblMsg.Text = "Your record is added successfully.";
     }
 }