public void m_UserList(DataGridView vrdgrUserList) { StockTrackingDataContext = new L_StockTrackingERPDataContext(); var UserList_Query = StockTrackingDataContext.p_UsersList(); vrdgrUserList.DataSource = UserList_Query; vrdgrUserList.Columns[0].HeaderText = "Kullanıcı ID"; vrdgrUserList.Columns[1].HeaderText = "Kullanıcı Kodu"; vrdgrUserList.Columns[2].HeaderText = "Adı ve Soyadı"; vrdgrUserList.Columns[3].HeaderText = "E-Mail"; vrdgrUserList.Columns[4].HeaderText = "Telefon"; }