Exemplo n.º 1
0
    override protected Boolean LoadData()
    {
        try
        {
            DAWebFunction tData = new DAWebFunction();
            rtl.DataSource = tData.USP_WebFunction_GetAll(0, 0);
            rtl.DataBind();

            rtl.ExpandAllItems();

            return(true);
        }
        catch (Exception e) {
            ShowErrorMes("Lổi hệ thống: " + e.ToString());
            return(false);
        };
    }
Exemplo n.º 2
0
    protected void rtl_NeedDataSource(object sender, TreeListNeedDataSourceEventArgs e)
    {
        DAWebFunction tData = new DAWebFunction();

        rtl.DataSource = tData.USP_WebFunction_GetAll(0, 0);
    }