当前位置: 首页>>代码示例>>C#>>正文


C# ClsBAL.InsertAgentRequest方法代码示例

本文整理汇总了C#中BAL.ClsBAL.InsertAgentRequest方法的典型用法代码示例。如果您正苦于以下问题:C# ClsBAL.InsertAgentRequest方法的具体用法?C# ClsBAL.InsertAgentRequest怎么用?C# ClsBAL.InsertAgentRequest使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在BAL.ClsBAL的用法示例。


在下文中一共展示了ClsBAL.InsertAgentRequest方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: btnCoorporate_Click

    protected void btnCoorporate_Click(object sender, EventArgs e)
    {
        try
        {
            ClsBAL obj = new ClsBAL();
            lblCorporate.Text = obj.InsertAgentRequest(txtCorName.Text.ToString(), txtCorEmail.Text.ToString(), txtcorOrganization.Text.ToString(), txtCorMobileNo.Text.ToString(),
                 txtCorCity.Text.ToString(), ddlCorState.SelectedItem.Text.ToString(), txtComments.Text.ToString(), txtCorDist.Text, "coorporate", "", "", "","","","");
            lblCorporate.ForeColor = System.Drawing.Color.Green;
            txtCorName.Text = txtCorEmail.Text = txtcorOrganization.Text = txtCorMobileNo.Text = txtCorCity.Text = txtComments.Text = txtCorDist.Text = "";
            ddlCorState.ClearSelection();

        }
        catch (Exception ex)
        {
            lblMsg.Text = ex.Message;
            throw;
        }
    }
开发者ID:srisai339,项目名称:LoveJourney_Working,代码行数:18,代码来源:NewLogin.aspx.cs

示例2: btnSignIn_Click

    protected void btnSignIn_Click(object sender, EventArgs e)
    {
        try
        {
            ClsBAL obj = new ClsBAL();
            lblMsg.Text = obj.InsertAgentRequest(txtName.Text.ToString(), txtEmailId.Text.ToString(), txtOrganization.Text.ToString(), txtMobileNo.Text.ToString(),
                 txtCity.Text.ToString(), ddlState.SelectedItem.Text.ToString(), txtComments.Text.ToString(), txtDistrict.Text, "Agent", Session["UserID"].ToString(), txtAppointmentTime.Text, ddlStatus.SelectedItem.Text, Session["UserName"].ToString(),txtAddress.Text,txtPincode.Text);
          //  mail();
            txtName.Text = txtEmailId.Text = txtOrganization.Text = txtMobileNo.Text = txtCity.Text = txtComments.Text = "";
            ddlState.SelectedIndex = 0;

        }
        catch (Exception ex)
        {
            lblMsg.Text = ex.Message;
            throw;
        }
    }
开发者ID:srisai339,项目名称:LoveJourney_Working,代码行数:18,代码来源:BecomeAnAgent.aspx.cs

示例3: btnSignIn_Click

    protected void btnSignIn_Click(object sender, EventArgs e)
    {
        try
        {
            ClsBAL obj = new ClsBAL();
            lblMsg.Text = obj.InsertAgentRequest(txtName.Text.ToString(), txtEmailId.Text.ToString(), txtOrganization.Text.ToString(), txtMobileNo.Text.ToString(),
                 txtCity.Text.ToString(), ddlState.SelectedItem.Text.ToString(), txtComments.Text.ToString(), txtDistrict.Text, "", "","","","","","");
            mail();
            txtName.Text = txtEmailId.Text = txtOrganization.Text = txtMobileNo.Text = txtCity.Text = txtComments.Text = "";
            ddlState.SelectedIndex = 0;

        }
        catch (Exception ex)
        {
            lblMsg.Text = ex.Message;
            throw;
        }
    }
开发者ID:srisai339,项目名称:LoveJourney_Working,代码行数:18,代码来源:BecomeAnAgent.aspx.cs

示例4: btnSignIn_Click

    protected void btnSignIn_Click(object sender, EventArgs e)
    {
        try
        {
            ClsBAL obj = new ClsBAL();
            lblAgent.Text = obj.InsertAgentRequest(txtAgentName1.Text.ToString(), txtAgentEmail.Text.ToString(), txtOrganization.Text.ToString(), txtAgentMobilno.Text.ToString(),
                 txtAgentCity.Text.ToString(), ddlAgentState.SelectedItem.Text.ToString(), txtComments.Text.ToString(), txtDistrict.Text, "Agent","","","","","","");
            lblAgent.ForeColor = System.Drawing.Color.Green;
            mail1();
            txtAgentName1.Text = txtAgentEmail.Text = txtOrganization.Text = txtAgentMobilno.Text = txtAgentCity.Text = txtComments.Text = "";
            ddlAgentState.SelectedIndex = 0;

        }
        catch (Exception ex)
        {
            lblMsg.Text = ex.Message;
            throw;
        }
    }
开发者ID:srisai339,项目名称:LoveJourney_Working,代码行数:19,代码来源:AgentUser-login.aspx.cs

示例5: btnPendingRegister_Click

    protected void btnPendingRegister_Click(object sender, EventArgs e)
    {
        try
        {
            ClsBAL obj = new ClsBAL();
            lblMsg.InnerText = obj.InsertAgentRequest(txtPendingReqName.Text, txtPendEmailid.Text.ToString(), "", txtPendingMobileNo.Text.ToString(),
                 txtPendingCity.Text.ToString(), ddlPendingState.SelectedItem.Text.ToString(), TextBox12.Text, txtPendingDistrict.Text, "BSD", Session["UserId"].ToString(), txtPendAppointDate.Text,"","","","");
           // mail();

            ddlState.SelectedIndex = 0;

        }
        catch (Exception ex)
        {
            lblMsg.InnerText = ex.Message;
            throw;
        }
    }
开发者ID:srisai339,项目名称:LoveJourney_Working,代码行数:18,代码来源:Agents.aspx.cs


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