public void m_InvoicesDetailsList(DataGridView vr_InvoicesDetailsList, int vrInvoiceNo) { StockTrackingDataContext = new L_StockTrackingERPDataContext(); var InvoicesDetailsList_Query = StockTrackingDataContext.p_InvoicesDetailsList(vrInvoiceNo); vr_InvoicesDetailsList.DataSource = InvoicesDetailsList_Query; vr_InvoicesDetailsList.Columns[0].HeaderText = "Fatura ID"; vr_InvoicesDetailsList.Columns[1].HeaderText = "Fatura No"; vr_InvoicesDetailsList.Columns[2].HeaderText = "Ürün Kodu"; vr_InvoicesDetailsList.Columns[3].HeaderText = "Ürün Adı"; vr_InvoicesDetailsList.Columns[4].HeaderText = "Ürün Sayısı"; vr_InvoicesDetailsList.Columns[5].HeaderText = "Toplam Tutar"; vr_InvoicesDetailsList.Columns[6].HeaderText = "Döviz"; vr_InvoicesDetailsList.Columns[7].HeaderText = "Kdvsiz Tutar"; vr_InvoicesDetailsList.Columns[8].HeaderText = "Kdv Oranı"; vr_InvoicesDetailsList.Columns[9].HeaderText = "Kdv Tutarı"; vr_InvoicesDetailsList.Columns[10].HeaderText = "İndirim Oranı"; vr_InvoicesDetailsList.Columns[11].HeaderText = "İndirim Tutarı"; vr_InvoicesDetailsList.Columns[12].HeaderText = "Toplam TL Tutarı"; vr_InvoicesDetailsList.Columns[13].HeaderText = "Depo No"; vr_InvoicesDetailsList.Columns[14].HeaderText = "Depo Adı"; vr_InvoicesDetailsList.Columns[15].HeaderText = "Döviz Kuru"; }