public static string DangNhap(string taikhoan, string matkhau)
    {
        bus_Danhmuc dm = new bus_Danhmuc();
        int         kq = dm.BUS_DANGNHAP(taikhoan, matkhau);

        return(Convert.ToString(kq));
    }
    public static string DangNhap(string taikhoan, string matkhau)
    {
        bus_Danhmuc dm = new bus_Danhmuc();
        int         kq = dm.BUS_DANGNHAP(taikhoan, matkhau);

        HttpContext.Current.Session.Add("user", taikhoan);
        return(Convert.ToString(kq));
    }
    private void loadDM()
    {
        DropDownList khuvuc = (DropDownList)Viewedit.FindControl("drlKhuvuc");

        dm = new bus_Danhmuc();
        khuvuc.DataSource = dm.BUS_loadDM().Tables[0];
        //khuvuc.DataSource = Enum.GetNames(typeof(TestimonialStatus.CurrentTestimonialStatus));
        khuvuc.DataTextField  = "tenKV";
        khuvuc.DataValueField = "maKV";
        khuvuc.DataBind();

        DropDownList loaibds = (DropDownList)Viewedit.FindControl("drlLoaiBDS");

        loaibds.DataSource     = dm.BUS_loadDM().Tables[1];
        loaibds.DataTextField  = "tenLoaiBDS";
        loaibds.DataValueField = "maLoaiBDS";
        loaibds.DataBind();
    }