• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# WebControls.WizardNavigationEventArgs类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中System.Web.UI.WebControls.WizardNavigationEventArgs的典型用法代码示例。如果您正苦于以下问题:C# WizardNavigationEventArgs类的具体用法?C# WizardNavigationEventArgs怎么用?C# WizardNavigationEventArgs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



WizardNavigationEventArgs类属于System.Web.UI.WebControls命名空间,在下文中一共展示了WizardNavigationEventArgs类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: wizard_finishClick

        protected void wizard_finishClick(object sender, WizardNavigationEventArgs e)
        {
            if (CaptchaControl1.IsValid)
            {
                PersonInfoManager manager = new PersonInfoManager();

                if (manager.SaveFormRegistration(stibber))
                {
                    MailHelper mailhelper = new MailHelper();
                    String kamptype = String.Empty;
                    String stibnaam = String.Format("{0} {1} {2}", stibber.VoorNaam, stibber.TussenVoegsel, stibber.Achternaam);

                    List<String> emails = new List<String>();

                    if (stibber.Kamptype == "1")
                    {
                        emails = mailhelper.GetStibMailFromConfig(false);
                        kamptype = "Jongste kamp";
                    }
                    else
                    {
                        emails = mailhelper.GetStibMailFromConfig(true);
                        kamptype = "Oudste kamp";

                    }

                    String subject = String.Format("Stibkamp {0} registratie: {1}", kamptype, stibnaam);

                    mailhelper.Send(CreateBody(), emails,subject);
                }
            }
        }
开发者ID:Rclemens,项目名称:Stibkamp,代码行数:32,代码来源:StibRegWizard.ascx.cs


示例2: RegisterUser_NextButtonClick

 protected void RegisterUser_NextButtonClick(object sender, WizardNavigationEventArgs e)
 {
     lblMsg.Text = "";
     try
     {
         if (RegisterUser.UserName.IndexOf(" ") > -1)
         {
             lblMsg.Text = "Tài khoản không được để khoảng trắng (dấu cách)!";
             return;
         }
         //Response.Write("RegisterUser_NextButtonClick");
         TUSER newUser = new TUSER();
         using (tDBContext mainDB = new tDBContext())
         {
             if (mainDB.TUSERs.Exist(string.Format("USER_ID='{0}'", RegisterUser.UserName)) == true)
             {
                 lblMsg.Text = "Tài khoản đã tồn tại, vui lòng xử dụng tài khoản khác!";
                 return;
             }
             //Response.Write(mainDB.TUSERs.Count().ToString());
             newUser.USER_ID = RegisterUser.UserName;
             newUser.USER_PASSWORD = RegisterUser.Password;
             newUser.USER_ROLE = 0;
             mainDB.TUSERs.InsertOnSubmit(newUser);
             mainDB.SubmitAllChange();
         }
         Session[ct.USER_ID] = newUser.USER_ID;
         Session[ct.USER_ROLE] = newUser.USER_ROLE;
         Response.Redirect("~/");
     }
     catch (Exception ex)
     {
         lblMsg.Text = string.Format("Xảy ra lỗi: {0}", ex.Message);
     }
 }
开发者ID:huamanhtuyen,项目名称:tHelpDesk,代码行数:35,代码来源:Register.aspx.cs


示例3: Wizard_FinishButton_Click

 protected void Wizard_FinishButton_Click(object sender, WizardNavigationEventArgs e)
 {
     if (Page.User.IsInRole("ProjectAdministrator"))
     {
         AddUserToRole(CreateUserWizard1.UserName, GroupName.SelectedValue);
     }
 }
开发者ID:vivekananth,项目名称:AzureTimeTracker,代码行数:7,代码来源:User_Create.aspx.cs


示例4: CreateUserWizard1_FinishButtonClick

        protected void CreateUserWizard1_FinishButtonClick(object sender, WizardNavigationEventArgs e)
        {
            using (var datas = new DataLayer.StandartWebDataContext())
            {
                var u = (from a in datas.aspnet_Users
                         where a.UserName == CreateUserWizard1.UserName
                         select a).FirstOrDefault();
                if (u != null)
                {
                    u.TUserProfile.FirstName = tbFirstName.Text;
                    u.TUserProfile.LastName = tbLastName.Text;
                    u.TUserProfile.Gender = (byte)rblGender.SelectedIndex;
                    DateTime dt;
                    if (DateTime.TryParse(tbBirthDate.Text, out dt))
                    {
                        u.TUserProfile.BirthDate = dt;
                    }
                    else
                    {
                        u.TUserProfile.BirthDate = null;
                    }

                    datas.SubmitChanges();
                }
            }
        }
开发者ID:alperkonuralp,项目名称:ASP.Net_Standart_Web_Uygulamasi,代码行数:26,代码来源:register.aspx.cs


示例5: Wizard1_FinishButtonClick

        protected void Wizard1_FinishButtonClick(object sender, WizardNavigationEventArgs e)
        {
            //prepare empty string for facility
            string strFacilities = string.Empty;

            //loop for constructing facilities.
            foreach (ListItem li in CheckBoxList1.Items)
            {
                if (li.Selected)
                    strFacilities += li.Text + "<br/>";
            }

            //display output result
            lblFinished.Text = string.Format("Thank you {0} {1} <br/>"+
                                            "Your details are: <br/>" +
                                            "Phone:{2} <br/>"+
                                            "Email:{3} <br/>"+
                                            "Address:{4} <br/>"+
                                            "Date of stay: {5} <br/>"+
                                            "Length of stay: {6} <br/>"+
                                            "Number of people staying: {7} <br/>"+
                                            "Type of room: {8} <br/>" +
                                            "Facilities: {9} <br/>",

                                            txtFname.Text, txtLname.Text,
                                            txtContactNumber.Text,
                                            txtEmail.Text,
                                            txtAddress.Text,
                                            Calendar1.SelectedDate.ToShortDateString(),
                                            txtStayLength.Text,
                                            txtNumOfPeople.Text,
                                            DropDownList1.SelectedItem.Text,
                                            strFacilities);
        }
开发者ID:juehan,项目名称:PlayingWithOthers,代码行数:34,代码来源:Activity3.aspx.cs


示例6: Donation_FinishButtonClick

        protected void Donation_FinishButtonClick(object sender, WizardNavigationEventArgs e)
        {
            //insert stuff into session
            Session["donor_first_name"] = this.firstNameTBox.Text;
            Session["donor_last_name"] = this.lastNameTBox.Text;
            Session["donor_email"] = this.emailTBox.Text;

                //Donation
                String donation = "0.00";
                if (this._5.Checked)
                    donation = this._5.Text;
                else if (this._10.Checked)
                    donation = this._10.Text;
                else if (this._15.Checked)
                    donation = this._15.Text;
                else if (this._20.Checked)
                    donation = this._20.Text;
                else if (this._25.Checked)
                    donation = this._25.Text;
                else if (this.other.Checked)
                    donation = this.donationAmountTxb.Text;

                Session["donation_amount"] = donation;

            //insert stuff into DB
                controller.insertDonation(this.firstNameTBox.Text, this.lastNameTBox.Text,
                    this.emailTBox.Text, double.Parse(donation));
        }
开发者ID:jovinoribeiro,项目名称:EBFRW,代码行数:28,代码来源:Donation.aspx.cs


示例7: Wizard1_NextButtonClick

 protected void Wizard1_NextButtonClick(object sender, WizardNavigationEventArgs e)
 {
     Response.Write("CurrentStepIndex = "+e.CurrentStepIndex.ToString() + "<br/>");
     Response.Write("NextStepIndex = " + e.NextStepIndex.ToString() + "<br/>");
     //e.Cancel = true;
     e.Cancel = CheckBox1.Checked;
 }
开发者ID:wangyuanhsiang,项目名称:VisualStudio,代码行数:7,代码来源:WebForm4.aspx.cs


示例8: CreateSessionWizard_FinishButtonClick

        protected void CreateSessionWizard_FinishButtonClick(object sender, WizardNavigationEventArgs e)
        {
            SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["J15dbConnectionString1"].ConnectionString);
            SqlCommand cmd = new SqlCommand("Insert Into Session (SessionName,SessionPlan,SessionRest,TotalSessionMilage,CoachID) VALUES(@SessionName,@SessionPlan,@SessionRest,@TotalSessionMilage,@CoachID)", conn);
            cmd.CommandType = System.Data.CommandType.Text;
            cmd.Parameters.AddWithValue("@SessionName", tbsessionname.Text);
            cmd.Parameters.AddWithValue("@SessionPlan", tbsessionplan.Text);
            cmd.Parameters.AddWithValue("@SessionRest", tbsessionrest.Text);
            cmd.Parameters.AddWithValue("@TotalSessionMilage", tbtotalsessmilage.Text);
            cmd.Parameters.AddWithValue("@CoachID", lbcid.Text);
            conn.Open();

            try
            {
                cmd.ExecuteNonQuery();
                conn.Close();
                lbsessionsaved.Text = ("Session " + tbsessionname.Text.ToString()+ " has been saved");
            }

            catch (Exception er)
            {
                Response.Write("<h2>Something went wrong</h2> Please Try Again.");
                lbsessionsaved.Text = er.Message;

            }
            finally
            {
                //Any Special Action we want to Add.
            }
        }
开发者ID:kingtid,项目名称:DevJ15Log,代码行数:30,代码来源:CoachSessions.aspx.cs


示例9: CreateUserWizard1_NextButtonClick

 protected void CreateUserWizard1_NextButtonClick(object sender, WizardNavigationEventArgs e)
 {
     if (!ctvCheck.IsValid)
     {
         return;
     }
 }
开发者ID:fernandodlcruz,项目名称:imagebank,代码行数:7,代码来源:SignUp.aspx.cs


示例10: wizard_finishClick

        protected void wizard_finishClick(object sender, WizardNavigationEventArgs e)
        {
            if (CaptchaControl1.IsValid)
            {
                GetContactInfo();

                StibContactManager manager = new StibContactManager();

                if (manager.SaveContact(stibcontact))
                {
                    MailHelper mailhelper = new MailHelper();
                    String kamptype = String.Empty;
                    String stibnaam = String.Format("{0} {1} {2}", stibcontact.Voornaam, stibcontact.Tussenvoegsel, stibcontact.Achternaam);

                    List<String> emails = new List<String>();

                    if (stibcontact.Kamptype == "1")
                    {
                        emails = mailhelper.GetStibMailFromConfig(false);
                        kamptype = "Jongste kamp";
                    }
                    else
                    {
                        emails = mailhelper.GetStibMailFromConfig(true);
                        kamptype = "Oudste kamp";

                    }

                    String subject = String.Format("Stibkamp {0} vraag: {1}", GetKamptype(stibcontact.Kamptype), stibnaam);

                    mailhelper.Send(CreateBody(), emails, subject);
                }
            }
        }
开发者ID:Rclemens,项目名称:Stibkamp,代码行数:34,代码来源:StibContact.ascx.cs


示例11: Wizard1_FinishButtonClick

 protected void Wizard1_FinishButtonClick(object sender, WizardNavigationEventArgs e)
 {
     result.Text = "User name: " + Namefield.Text;
     result.Text += "<br />Credit card type: " + Card.Text;
     result.Text += "<br />Expiration Date: " + Calendar1.SelectMonthText + "12:00:00 AM";
     result.Text += "<br />will be used for the payment.";
 }
开发者ID:beckomc01,项目名称:christopher_IS-545,代码行数:7,代码来源:WebForm1.aspx.cs


示例12: Wizard1_FinishButtonClick

 protected void Wizard1_FinishButtonClick(object sender, WizardNavigationEventArgs e)
 {
     try
     {
         StringBuilder eBody = new StringBuilder();
         eBody.Append(string.Format("From  : {0} \r\n", this.txtEmail.Text));
         eBody.Append(string.Format("Name  : {0} \r\n", this.txtName.Text));
         eBody.Append(string.Format("Phone : {0} \r\n", this.txtPhoneNo.Text));
         eBody.Append(string.Format("Address  : {0} \r\n", this.txtAddress.Text));
         eBody.Append("======================================================\r\n\r\n");
         eBody.Append(string.Format("Referrer  : {0}\r\n\r\n", this.txtReferrer.Text));
         eBody.Append(string.Format("First time contact?  : {0}\r\n\r\n", this.rdbFirstTimeYes.Checked ? "Yes" : "No"));
         eBody.Append(string.Format("Product or feature interests  : \r\n{0}\r\n\r\n", this.txtInterests.Text));
         eBody.Append(string.Format("Feedback or message : \r\n{0}\r\n\r\n", this.txtMessage.Text));
         
         Exception ex = null;
         if (!MailControl.SendMail("Site Customer Feedback", eBody.ToString(), ref ex))
         {
             throw ex;
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
开发者ID:jcmangubat,项目名称:Silvervision.apphb,代码行数:26,代码来源:Feedback.aspx.cs


示例13: CoachWizard_FinishButtonClick

        protected void CoachWizard_FinishButtonClick(object sender, WizardNavigationEventArgs e)
        {
            SqlCommand cmd = new SqlCommand("Insert Into Coach (UserName,Password,FirstName,SurName,EmailAddres,UserLogo,EnglandCoachID,ver_code,Is_Approved) VALUES(@UserName,@Password,@FirstName,@LastName,@EmailAdd,'~/Images/User-icon128.png',@EnglandCoachID,newid(),0)", con);
            cmd.CommandType = System.Data.CommandType.Text;
            cmd.Parameters.AddWithValue("@UserName", tbcoachusername.Text);
            cmd.Parameters.AddWithValue("@Password", tbpw1.Text);
            cmd.Parameters.AddWithValue("@FirstName", tbcfirstname.Text);
            cmd.Parameters.AddWithValue("@LastName", tbclastname.Text);
            cmd.Parameters.AddWithValue("@EmailAdd", tbceadd.Text);
            cmd.Parameters.AddWithValue("@EnglandCoachID", tbcengid.Text);
            con.Open();
            try
            {
                cmd.ExecuteNonQuery();
                con.Close();
                //Response.Redirect("~/CoachLogin.aspx");
                Sendemail();
                lber.Text = ("Thank you " + tbcfirstname.Text.ToString() + " for Registering. You will need to Activate your account to access the site fully.");
                clear();
            }

            catch (Exception er)
            {
                Response.Write("<h2>Something went wrong</h2> Please Try Again.");
                lber.Text = er.Message;

            }
            finally
            {
                //Any Special Action we want to Add.
            }
        }
开发者ID:kingtid,项目名称:DevJ15Log,代码行数:32,代码来源:CRegister.aspx.cs


示例14: wzdCheckOut_FinishButtonClick

        /// <summary>
        /// Process the order
        /// </summary>
        protected void wzdCheckOut_FinishButtonClick(object sender, WizardNavigationEventArgs e)
        {
            if (Profile.ShoppingCart.CartItems.Count > 0) {
                if (Profile.ShoppingCart.Count > 0) {

                    // display ordered items
                    CartListOrdered.Bind(Profile.ShoppingCart.CartItems);

                    // display total and credit card information
                    ltlTotalComplete.Text = ltlTotal.Text;
                    ltlCreditCardComplete.Text = ltlCreditCard.Text;

                    // create order
                    OrderInfo order = new OrderInfo(int.MinValue, DateTime.Now, User.Identity.Name, GetCreditCardInfo(), billingForm.Address, shippingForm.Address, Profile.ShoppingCart.Total, Profile.ShoppingCart.GetOrderLineItems(), null);

                    // insert
                    Order newOrder = new Order();
                    newOrder.Insert(order);

                    // destroy cart
                    Profile.ShoppingCart.Clear();
                    Profile.Save();
                }
            }
            else {
                lblMsg.Text = "<p><br>Can not process the order. Your cart is empty.</p><p class=SignUpLabel><a class=linkNewUser href=Default.aspx>Continue shopping</a></p>";
                wzdCheckOut.Visible = false;
            }
        }
开发者ID:kfengbest,项目名称:PetShop,代码行数:32,代码来源:CheckOut.aspx.cs


示例15: emailWizard_NextButtonClick

        protected void emailWizard_NextButtonClick( object sender, WizardNavigationEventArgs e )
        {
            string userName = null;
              string newEmail = null;
              try
              {
            newEmail = Email.Text;
            if ( !IsValidEmail( Email.Text ) )
            {
              throw new ApplicationException( "Please provide a valid email." );
            }

            MembershipUser user = Membership.GetUser();
            userName = user.UserName;
            if ( !Membership.ValidateUser( userName, PasswordForEmail.Text ) )
            {
              throw new ApplicationException( "Password is incorrect." );
            }

            user.Email = Email.Text;
            Membership.UpdateUser( user );
              }
              catch ( ApplicationException exc )
              {
            EmailChangeFailureText.Text = exc.Message;
              }
              catch ( Exception exc )
              {
            log.FatalFormat( "Can't change email from to {0} for {1}: {2}", userName, newEmail, exc );
            EmailChangeFailureText.Text = exc.Message;
              }

              e.Cancel = EmailChangeFailureText.Text != "";
        }
开发者ID:new-mikha,项目名称:flytrace,代码行数:34,代码来源:profile.aspx.cs


示例16: Wizard1_FinishButtonClick

        protected void Wizard1_FinishButtonClick(object sender, WizardNavigationEventArgs e)
        {
            string tournamentName = this.txtTournamentName.Text;
            string tournamentAbstract = this.txtAbstract.Text;
            string locations = this.txtLocations.Text;
            int numberOfPlayersLimit = Convert.ToInt32(this.txtLimitNumberOfPlayers.Text);
            int gameId = int.Parse(this.rbGame.SelectedValue);
            char tournamentMode = char.Parse(this.rbTournamentMode.SelectedValue);
            string matchingAlog = this.rbMatchingAlog.SelectedValue;
            int gamesPerDay = int.Parse(Request.Form["amount"].ToString());
            string[] timeFrames = Request.Form["timeFrame"].ToString().Split('-');

            TimeSpan timeWindowStart = TimeSpan.Parse(timeFrames[0]);
            TimeSpan timeWindowEnd = TimeSpan.Parse(timeFrames[1]);

            bool isOpenAllDay = this.cbIsOpenAllDay.Checked;
            string firstPrize = this.txtFirstPrize.Text;
            string secondPrize = this.txtSecondPrize.Text;
            string thirdPrize = this.txtThirdPrize.Text;
            DateTime startDate = DateTime.Parse(this.txtStartDate.Text);
            DateTime lastRegistrationDate = DateTime.Parse(this.txtLastRegistrationDate.Text);
            string tournamentId = TournamentManager.BuildTournament(Master.OrgBasicInfo.Id, tournamentName, tournamentAbstract, locations, numberOfPlayersLimit, gameId,tournamentMode, matchingAlog,gamesPerDay, timeWindowStart,
                timeWindowEnd, isOpenAllDay, firstPrize, secondPrize, thirdPrize, startDate, lastRegistrationDate);
            //string emailTemplate = string.Format(joinTournamentTemplate, Master.OrgBasicInfo.Name, tournamentName,
            //                                        Master.OrgBasicInfo.Id.ToString(),tournamentId, timeWindowStart.ToString(), timeWindowEnd.ToString(),locations,
            //                                        this.txtFirstPrize.Text, this.txtSecondPrize.Text, this.txtThirdPrize.Text);
            //TournamentManager.UpdateEmailTemplate(tournamentId, emailTemplate);
            Response.Redirect(@"~/backoffice/InvitToTournament.aspx?TournamentId=" + tournamentId);
        }
开发者ID:shaileshgajula,项目名称:c8a5b00a-1d86-40ff-a172-35d865eeec09,代码行数:29,代码来源:TournamentBuilder.aspx.cs


示例17: WizardQueue_FinishButtonClick

        protected void WizardQueue_FinishButtonClick(object sender, WizardNavigationEventArgs e)
        {
            Queue q = new Queue();

            if (Session["queueEdit"] != null) q = (Queue)Session["queueEdit"];

            q.Queue_Name = this.title.Text;
            q.Queue_Address = this.location.Text;
            q.Queue_Description = this.description.Text;
            q.Queue_OwnerName = this.initiatorAlias.Text;
            q.Queue_ResetAtMidnight = this.minuit.Checked;
            q.Queue_ResetAtMaxReached = this.ticketsmaxopt.Checked;
            if (!string.IsNullOrEmpty(this.handlingTime.Text)) q.Queue_ExpectedHandlingTime = int.Parse(this.handlingTime.Text);
            if (this.ticketsmaxopt.Checked) q.Queue_MaxLimit = int.Parse(this.ticketsmax.Text);
            if (this.desactiverqueue.Checked) q.Queue_ValidTillDate = DateTime.Parse(this.desactivateDate.Text);
            q.Queue_Next_Increment = 1;
            q.Queue_IsActive = true;
            q.Queue_UserID = (Guid)Membership.GetUser().ProviderUserKey;

            HelperClass_Queue hcq = new HelperClass_Queue();

            if (Session["queueEdit"] == null)
            {
                q.Queue_IsActive = true;
                q = hcq.CreateQueue(q);
            }
            else
                hcq.UpdateQueue(q);

            Session["NewQueue"] = q.Queue_ID;

            this.Response.Redirect(Page.ResolveUrl("~/Queues/Confirmation.aspx"));
        }
开发者ID:CamilleValley,项目名称:Quddle,代码行数:33,代码来源:ShowWizard.aspx.cs


示例18: Wizard1_FinishButtonClick

 protected void Wizard1_FinishButtonClick(object sender, WizardNavigationEventArgs e)
 {
     Result.Text = "<h3>Summary of input</h3>";
     Result.Text += "<br/> User name: " + YourName.Text;
     Result.Text += "<br/> Credit card type: " + CardType.Text;
     Result.Text += "<br/> Expiration date: " + Expiration.SelectedDate;
     Result.Text += "<br/>will be used for the payment";
 }
开发者ID:jpaphala,项目名称:Jantana_IS445,代码行数:8,代码来源:Index.aspx.cs


示例19: WelcomeWizard_FinishButtonClick

        /// <summary>
        /// Fires when finish button is pressed
        /// </summary>
        protected void WelcomeWizard_FinishButtonClick(object sender, WizardNavigationEventArgs e)
        {
            // Cookie only
            //Response.Redirect("~/lobby");

            // QueryString
            Response.Redirect("~/lobby/" + LblAccessCode.Text);
        }
开发者ID:stwehrli,项目名称:Segreg,代码行数:11,代码来源:Welcome.aspx.cs


示例20: wzdAccount_FinishButtonClick

        void wzdAccount_FinishButtonClick(object sender, WizardNavigationEventArgs e)
        {
            DataAccess.Security.DAccountProfile daProfile = new DataAccess.Security.DAccountProfile();
            DataAccess.Security.DAccounts daAccount = new DataAccess.Security.DAccounts();

            DataAccess.AccountProfile profileEntity = new DataAccess.AccountProfile();

            //Profile
            profileEntity.Id = Guid.NewGuid();
            profileEntity.FirstName = txtFname.Text;
            profileEntity.LastName = txtLname.Text;
            profileEntity.FirstName = string.Format("{0} {1}", txtFname.Text, txtLname.Text);
            profileEntity.Title = txtTitle.Text;
            profileEntity.JobTitle = txtJobTitle.Text;
            profileEntity.IsMale = bool.Parse(ddlSex.SelectedValue);
            profileEntity.IsDeleted = false;

            //Account
            if (txtPassword.Text != txtConfirmPassword.Text)
            {
                return;
            }
            DataAccess.Account acctEntity = new DataAccess.Account();
            acctEntity.Id = Guid.NewGuid();
            acctEntity.UserName = txtUserName.Text;
            acctEntity.Email = txtEmail.Text;
            acctEntity.Password = txtConfirmPassword.Text;
            acctEntity.IsDeleted = false;
            acctEntity.ChangePasswordOnFirstLogon = true;
            acctEntity.CreatedDate = DateTime.Now;

            //Roles
            List<string> roleCode = new List<string>();
            roleCode = chkRoles.Items.Cast<ListItem>().Where(x => x.Selected).Select(x => x.Value).ToList();

                try
                {
                    daProfile.CreateAccountProfile(profileEntity);
                    acctEntity.ProfileId = profileEntity.Id;
                    daAccount.CreateAccount(acctEntity);
                    daAccount.AddRoles(acctEntity.Id, roleCode);
                    SetMessage(MessageType.Succes, "Saving Successfull",true);
                }
                catch (System.Transactions.TransactionAbortedException ex)
                {
                    SetMessage(MessageType.Error, ex.Message,true);
                }
                catch (Exception ex)
                {
                    SetMessage(MessageType.Error, ex.Message, true);
                }

                RedirectToReferrerUrl();

            //daProfile.DeleteAccountProfile(profId.Value, false);
            //throw (ex);
        }
开发者ID:jrjacob2000,项目名称:PayrollSystem,代码行数:57,代码来源:Create.aspx.cs



注:本文中的System.Web.UI.WebControls.WizardNavigationEventArgs类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# WebControls.WizardStep类代码示例发布时间:2022-05-26
下一篇:
C# WebControls.Wizard类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap