private void btnSearch_Click(object sender, EventArgs e)
 {
     BLL.vwLog l = new BLL.vwLog();
     dgvwLogs.DataSource = l.SearchLog(txtSearch.Text);
 }
 private void frmLogs_Load(object sender, EventArgs e)
 {
     BLL.vwLog l = new BLL.vwLog();
     dgvwLogs.DataSource = l.LoadLogs();
 }