private void MsgDataBind() { try { dt = SellersBLL.GetSellerRecords(tb_Seller.Text.Trim(), txt_StartTime1.Value, txt_EndTime1.Value); gd_All.DataSource = dt; gd_All.DataBind(); } catch (Exception ex) { ExceptionReporter.WriteLog(ex, ExceptionPostion.TBApply_Web_UI); } }