private void btnSearch_Click(object sender, EventArgs e) { DAL.ProductImage pi = new DAL.ProductImage(); dgvData.DataSource = pi.Select().Tables[0]; }
private void btnSearch_Click(object sender, EventArgs e) { dgvProductImage.DataSource = pi.Select().Tables[0]; }