Exemplo n.º 1
0
 public Configuration()
 {
     loSection = new Section();
     loNewspaper = new Newspaper();
     loEmployee = new Employee();
     loEmployeeType = new EmployeeType();
 }
Exemplo n.º 2
0
 public DataTable getSections(string pType, string pNewspaper)
 {
     DataTable _dt = new DataTable();
     Section _section = new Section();
     _dt = _section.get(pNewspaper);
     if (pType == "search")
     {
         DataRow _dRow = _dt.NewRow();
         _dRow["SectionId"] = "";
         _dRow["Section"] = "ALL";
         _dt.Rows.Add(_dRow);
     }
     return _dt;
 }