﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace pharmacymansys
{
    public partial class PurchaseView : Form
    {
        public PurchaseView(string pid)
        {
            InitializeComponent();
            piv = pid;
        }
        string piv;
        private void PurchaseView_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'PurchaseData.PINVICE' table. You can move, or remove it, as needed.
            this.PINVICETableAdapter.Fill(this.PurchaseData.PINVICE, piv);
           
           


            this.reportViewer1.RefreshReport();
        }

        
    }
}
