public Configuration() { loSection = new Section(); loNewspaper = new Newspaper(); loEmployee = new Employee(); loEmployeeType = new EmployeeType(); }
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; }