Hello, I am developing a 3 -tier application in asp.net ,in App_Code i have AddpatientBL.cs class file under HospitalMgmt.BL folder which contains properties as below and i am using sqlhelper.cs under HospitalMgmt.DAL to maintain all executenonquery ....etc
using HospitalMgmt.DAL;
public class AddPatientBL
{
string code;
public string Code
{
get { return code; }
set { code = value; }
}
public void AddPatient()
{
SqlParameter[] p = new SqlParameter[18];
p[0] = new SqlParameter("@code", this.code);
p[0].DbType = DbType.String;
SqlHelper.ExecuteNonQuery(con, CommandType.StoredProcedure, "SpAddPatient", p);
}
and i created a webform.aspx and when i try to create an object for AddPatientBL .cs in webform.aspx its not getting created to call all properites in webform.aspx.Please reply as possible.Thank you