using System;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Reflection;
using ProjectHistoryCollector.Bussiness;
namespace ProjectHistoryCollector.DataAccess
{
public class DataEmployee:ConnectToData
{
//Add Employee
public void sp_Add_Employee(string EmployeeId, string Employeename, string EmployeeDescriptions)
{
OpenConnection();
//Employee employee = new Employee();
SQLCommandGeneral s = new SQLCommandGeneral();
SqlCommand myCommand = s.GenerateCommand(myConnection, (MethodInfo)MethodBase.GetCurrentMethod(), new Object[] { EmployeeId, Employeename, EmployeeDescriptions});
myCommand.ExecuteNonQuery();
}
}
}