private void textBox1_TextChanged(object sender, EventArgs e) { db = new db_MiletecDataContext(); dgvviewtransactiondetails.DataSource = db.sp_Search_ViewCustomerTransaction(textBox1.Text); }