Mercurial > pub > bltoolkit
view Demo/Asp.Net/Web/UserProfile.aspx.cs @ 5:f7d63a092920
Исправлено условие Where в тех случаях, когда репозитарий не является генериком
author | cin |
---|---|
date | Tue, 10 Mar 2015 16:02:11 +0300 |
parents | f990fcb411a9 |
children |
line wrap: on
line source
using System; namespace PetShop.Web { public partial class UserProfile : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) BindUser(); } protected void btnSubmit_Click(object sender, EventArgs e) { Profile.AccountInfo = AddressForm.Address; Profile.Save(); lblMessage.Text = "Your profile information has been successfully updated.<br> "; } private void BindUser() { AddressForm.Address = Profile.AccountInfo; } } }