Example #1
0
        public void m_ProductSearch(DataGridView vrdgrProductList, string vrProductCode, string vrProductName)
        {
            StockTrackingDataContext = new L_StockTrackingERPDataContext();
            var ProductSearch_Query = StockTrackingDataContext.p_ProductSearch(vrProductCode, vrProductName);

            vrdgrProductList.DataSource            = ProductSearch_Query;
            vrdgrProductList.Columns[0].HeaderText = "Ürün Kodu";
            vrdgrProductList.Columns[1].HeaderText = "Ürün Adı";
            vrdgrProductList.Columns[2].HeaderText = "Ürün Tipi";;
        }