コード例 #1
0
 public static string getaccounts()
 {
     if (HttpContext.Current.Session["Type"].ToString().ToLower().Equals("admin"))
     {
         myDAL obj = new myDAL();
         return(obj.getaccounts().GetXml());
     }
     return("0");
 }
コード例 #2
0
        public static string getaccounts(int id)
        {
            myDAL obj = new myDAL();

            return(obj.getaccounts(id).GetXml());
        }