Can we use a DataPager for a DataList?
I've done it but the following exception has occurred !!!

PHP Code:
Source Error

An unhandled exception was generated during the execution of the current web requestInformation regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace

[
InvalidOperationExceptionControl 'DataList1' does not implement IPageableItemContainer.]
   
System.Web.UI.WebControls.DataPager.FindPageableItemContainer() +500609
   System
.Web.UI.WebControls.DataPager.OnInit(EventArgs e) +33
   System
.Web.UI.Control.InitRecursive(Control namingContainer) +333
   System
.Web.UI.Control.InitRecursive(Control namingContainer) +210
   System
.Web.UI.Control.InitRecursive(Control namingContainer) +210
   System
.Web.UI.Control.InitRecursive(Control namingContainer) +210
   System
.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPointBoolean includeStagesAfterAsyncPoint) +378