using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Collections.Generic; using System.ComponentModel; using System.Data.Common; [DataObject(true)] public class BLL_Profil { static SigmaSportDAL2 _Ssd = null; static SigmaSportDAL2 SigmaAdapter { get { if (_Ssd == null) return _Ssd = new SigmaSportDAL2(); else return _Ssd; } } [DataObjectMethod(DataObjectMethodType.Select, true)] public static DataTable Personne_Selectionner() { return SigmaAdapter.ExecuteReader("PyStoredProc", CommandType.StoredProcedure); } }