Пример #1
0
        public void AddUserAndEvent(User user, ITEvent ite)
        {
            CSGroep01DataSet.signupRow signupRow = csGroep01DataSet.signup.NewsignupRow();
            FillUserAndEventRow(signupRow, user, ite);
            csGroep01DataSet.signup.Rows.Add(signupRow);

            sta.Update(csGroep01DataSet.signup);
        }
Пример #2
0
 private void FillUserAndEventRow(CSGroep01DataSet.signupRow signupRow, User user, ITEvent ite)
 {
     signupRow.userid  = user.Userid;
     signupRow.eventid = ite.EventNumber;
 }