private void TBCustomerName_TextChanged(object sender, EventArgs e) { param = "Sales Report for Searching of keywords ' " + TBCustomerName.Text + " '"; Dictionary <string, string> dic = new Dictionary <string, string>(); dic.Add("searchingtext", TBCustomerName.Text); dataGridView1.DataSource = ConnectionClass.proc_Select("Bills_Search", dic); calculation(); }