locked
Take the users out of a ruse RRS feed

  • Question

  • User-1322569703 posted

    it is such that I must have download all the users who have fødseledag on the day and the month, I'll be out in a list as do I, all users like being repeat and show to me.

    How do I add e-mail at username.

        public static void BirthdayDatoEmailSend()
            {
                DataClassesDataContext db = new DataClassesDataContext();
    
                //sætter dato nu.
                DateTime datetoday = DateTime.Now;
    
                var BirthdayTodayEMail = db.brugeres.Where(x => x.birthday != null &&
                                                                x.birthday.Value.Day == datetoday.Day &&
                                                                x.birthday.Value.Month == datetoday.Month).ToList();
                if (BirthdayTodayEMail != null)
                {
                    var Username = "test@test.com";//I need to get users into the Username.
                }
            }

    the problem is how every time I write BirthdayTodayEMail.email, it will in no way write email, just that it will not work with me.

    So my question is, what do I wrong since I do not for users on a list?

    Sunday, August 2, 2015 6:46 PM

Answers

All replies