当我使用DataPager控件进行GridView控件时,它会给我运行时错误 [英] when i use DataPager Control for GridView Control it gives me runtime error
本文介绍了当我使用DataPager控件进行GridView控件时,它会给我运行时错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我使用DataPager控件进行GridView控件时,它会给我运行时错误
错误:
控件''gdCartHistory''没有实现IPageableItemContainer。
gdCartHistory是gridView Control
请告诉我解决方案。
when i use DataPager Control for GridView Control it gives me runtime error
Error:
Control ''gdCartHistory'' does not implement IPageableItemContainer.
gdCartHistory is gridView Control
please tell me solution for that.
推荐答案
您不能将DataPager与GridView一起使用,因为它没有实现IPageableItemContainer。为什么不使用ListView控件?
You cannot use DataPager with GridView as it doesn''t implement IPageableItemContainer. Why don''t you use ListView control ?
这篇关于当我使用DataPager控件进行GridView控件时,它会给我运行时错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文