here pds is an object of the paged data source class which I have used since I want to enable paging for the datalist. The data source for this 'pds' is the dataset returned by the method from the business access layer. I hope this is right with respect
to what I am trying to do.
PGChoudhury
Member
11 Points
131 Posts
Re: Datalist Color Changing on Clicking a Button ---
Apr 27, 2012 12:24 PM|LINK
here pds is an object of the paged data source class which I have used since I want to enable paging for the datalist. The data source for this 'pds' is the dataset returned by the method from the business access layer. I hope this is right with respect to what I am trying to do.
Here::---
DataSet ds = new DataSet(); objbll.ForumID = Convert.ToInt32(Session["forumid"].ToString()); objbll.TopicID = Convert.ToInt32(Session["topicid"].ToString()); ds = objbll.GetPosts(); pds.DataSource = ds.Tables[0].DefaultView;