예제 #1
0
        public void m_StocksListSearch(DataGridView vrdgrStocksList, string vrStockID, string vrProductCode, string vrProductName)
        {
            StockTrackingDataContext = new L_StockTrackingERPDataContext();
            var StockList_Query = StockTrackingDataContext.StockListSearch(vrStockID, vrProductCode, vrProductName);

            vrdgrStocksList.DataSource            = StockList_Query;
            vrdgrStocksList.Columns[0].HeaderText = "Stok No";
            vrdgrStocksList.Columns[1].HeaderText = "Ürün No";
            vrdgrStocksList.Columns[2].HeaderText = "Ürün Adı";
            vrdgrStocksList.Columns[3].HeaderText = "Ürün Sayısı";
        }