Ejemplo n.º 1
0
        protected void GetRecommended()
        {
            classified = new DataAccess.Classified();
            DataTable dt = classified.SelectRecommended();

            lvRecommended.DataSource = dt;
            lvRecommended.DataBind();
        }
Ejemplo n.º 2
0
        protected void GetRecentClassified(int Id, ListView listView)
        {
            classified = new DataAccess.Classified();
            DataTable dt = classified.SelectByCategoryId(Id);

            listView.DataSource = dt;
            listView.DataBind();
        }