本文整理汇总了C#中BAL.ClsBAL.InsertEmpRequest方法的典型用法代码示例。如果您正苦于以下问题:C# ClsBAL.InsertEmpRequest方法的具体用法?C# ClsBAL.InsertEmpRequest怎么用?C# ClsBAL.InsertEmpRequest使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类BAL.ClsBAL
的用法示例。
在下文中一共展示了ClsBAL.InsertEmpRequest方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: btnEmp_Click
protected void btnEmp_Click(object sender, EventArgs e)
{
try
{
ClsBAL obj = new ClsBAL();
string filename = Path.GetFileName(fuImage.PostedFile.FileName);
fuImage.SaveAs(Server.MapPath("~/saveresumes/" + filename));
string pathname = "~/saveresumes/" + filename;
string filename1 = Path.GetFileName(FileUpload1.PostedFile.FileName);
FileUpload1.SaveAs(Server.MapPath("~/savedocs/" + filename1));
string pathname1 = "~/savedocs/" + filename1;
lblEmp.Text = obj.InsertEmpRequest(txtEmpName.Text.ToString(), txtEmpEmail.Text.ToString(), "", txtEmpMobileNo.Text.ToString(),
txtEmpCity.Text.ToString(), ddlState.SelectedItem.Text.ToString(), "", "", "Emp", "", "", "", filename, pathname, filename1, pathname1,txtQualification.Text,txtEmpAddress.Text);
lblEmp.ForeColor = System.Drawing.Color.Green;
txtEmpName.Text = txtEmpEmail.Text = txtEmpMobileNo.Text = txtEmpCity.Text = txtCorCity.Text = txtComments.Text = txtCorDist.Text =txtEmpAddress.Text= txtEmpPinCode.Text=txtQualification.Text="";
ddlState.ClearSelection();
ddlEmpcountry.ClearSelection();
}
catch (Exception ex)
{
lblMsg.Text = ex.Message;
throw;
}
}