public void m_CustomerSearch2(DataGridView vrdgrCustomerList, string vrCustomerID, string vrCustomerName) { StockTrackingDataContext = new L_StockTrackingERPDataContext(); var CustomerSearch2_Query = StockTrackingDataContext.p_CustomerSearch2(vrCustomerID, vrCustomerName); vrdgrCustomerList.DataSource = CustomerSearch2_Query; vrdgrCustomerList.Columns[0].HeaderText = "Müşteri Kodu"; vrdgrCustomerList.Columns[1].HeaderText = "Müşteri Adı"; vrdgrCustomerList.Columns[2].HeaderText = "Vergi Dairesi"; vrdgrCustomerList.Columns[3].HeaderText = "Vergi No"; vrdgrCustomerList.Columns[4].HeaderText = "Ülke"; vrdgrCustomerList.Columns[5].HeaderText = "İl"; vrdgrCustomerList.Columns[6].HeaderText = "İlçe"; vrdgrCustomerList.Columns[7].HeaderText = "Adres"; vrdgrCustomerList.Columns[8].HeaderText = "Telefon"; vrdgrCustomerList.Columns[9].HeaderText = "Email"; }