摘要: using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Data.SqlClient; using MySchoolModels; namespace MySchool.DAL { public class AdminService { public static bool CheckAdmin(string userName, string pwd) { string sql = "proc_Login"; SqlParameter[] para = new SqlParameter[] { new SqlParameter("@userName",userName), new SqlParameter("@password",pwd) }; 阅读全文
posted @ 2013-02-06 21:39 飞仙天外 阅读(91) 评论(0) 推荐(0) 编辑