public string get_priv(string name, string pass) { SqlParameter[] para = new SqlParameter[2]; para[0] = new SqlParameter("@name", SqlDbType.VarChar, 50); para[0].Value = name; para[1] = new SqlParameter("@pass", SqlDbType.VarChar, 50); para[1].Value = pass; DAL.open(); string re = DAL.SelectData_value("get_priv_login", para); return(re); DataTable DT = new DataTable(); }