private void txtsearch_TextChanged(object sender, EventArgs e) { db = new db_MiletecDataContext(); dgvorderfromsupplier.DataSource = db.sp_Search_Orders(txtsearch.Text); }