samedi 21 avril 2018

WebMethod in my webservice should return a dataset and yet returns an array?

Screenshots Of The Code

    [WebMethod]
    public DataSet GetPopularFlavors()
    {            
        return Helper.PopularItems();
    }

    localhost.Statistics s = new localhost.Statistics();
    topItems.DataSource = s.GetPopularFlavors();

And just for the record, im kind of new at this so im really sorry if im doing something that is obviously wrong...




Aucun commentaire:

Enregistrer un commentaire