public void m_StocksList(DataGridView vrdgrStocksList, string vrStoreName) { StockTrackingDataContext = new L_StockTrackingERPDataContext(); var StockList_Query = StockTrackingDataContext.StockList(vrStoreName); 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ı"; }