private void txt_search2_TextChanged(object sender, EventArgs e) { DAL.PharmacyDAL pdal = new DAL.PharmacyDAL(); SelectList sList = pdal.SearchProduct(txt_search2); txt_search2.Show(); }
public Login() { InitializeComponent(); pdal = new DAL.PharmacyDAL(); }