Exemplo n.º 1
0
    public String responsavelAll()
    {
        JavaScriptSerializer   js   = new JavaScriptSerializer();
        ResponsavelDAO         resp = new ResponsavelDAO();
        List <BeanResponsavel> list = new List <BeanResponsavel>();

        list = resp.selectAll();
        return(js.Serialize(list));
    }