public void m_StoreSearch(DataGridView vrdgrStoreList, string vrStoreID, string vrStoreName) { StockTrackingDataContext = new L_StockTrackingERPDataContext(); var StoresSearch_Query = StockTrackingDataContext.p_StoreSearch(vrStoreID, vrStoreName); vrdgrStoreList.DataSource = StoresSearch_Query; vrdgrStoreList.Columns[0].HeaderText = "Depo No"; vrdgrStoreList.Columns[1].HeaderText = "Depo Kodu"; vrdgrStoreList.Columns[2].HeaderText = "Depo Adı"; }