コード例 #1
0
        protected void btUpdate_Click(object sender, EventArgs e)
        {
            CommunityPartnersProfile cpp = new CommunityPartnersProfile();

            cpp.CommunityPartnerID = Convert.ToInt32(Session["CPID"]);
            cpp.OrganizationName   = tbOrganizationName.Text;
            cpp.Address            = tbAddress.Text;
            cpp.Website            = tbWebsite.Text;
            cpp.MainPhone          = tbMainPhone.Text;
            cpp.MissionStatement   = tbMissionStatement.Text;
            cpp.WorkDescription    = tbDescription.Text;
            cpp.UpdateCommunityPartnerProfile();
            OutputLabel.Visible = true;
            btUpdate.Enabled    = false;
        }