public ComponentForm()
        {
            InitializeComponent();
            ProductRetrieval pr = new ProductRetrieval("2");

            componentGrid.DataSource = pr.dt;
            numRecordsLabel.Text     = "Number of Rows: " + componentGrid.Rows.Count.ToString();
        }
Esempio n. 2
0
        public AccessoryForm()
        {
            InitializeComponent();
            ProductRetrieval pr = new ProductRetrieval("4");

            accessoryGrid.DataSource = pr.dt;
            numRecordsLabel.Text     = "Number of Rows: " + accessoryGrid.Rows.Count.ToString();
        }