本文整理汇总了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;
}
}
示例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;
}
}
示例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;
}
}
示例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;
}
}
示例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;
}
}