I have this code here:
ProfileCommon userProfile = Profile.GetProfile(Membership.GetUser().ToString()); FirstNameTextBox.Text = userProfile.FirstName; LastNameTextBox.Text = Server.HtmlDecode(Profile.LastName); EmailTextBox.Text = Membership.GetUser().Email; tbIndex.Text = userProfile.Indeks.ToString(); tbUserAgent.Text = Request.UserAgent.ToString(); Calendar.SelectedDate = userProfile.UserDate.Date; Calendar.VisibleDate = userProfile.UserDate.Date; EmailTextBox.Text = Membership.GetUser().Email; DataTextBox.Text = userProfile.UserDate.Date.ToString(); IPTextBox.Text = userProfile.UserIP.ToString();
It needs to be shown in another page, something like You are registered at time, with browser. Do I need to link the two pages before to work? Any suggestions how to get the date from this code to work in the other one?
Thank you. I know it's very simple, but I fail at something and help would be appreciated. Thanks again.