可以用PageSize
http://dotnet.aspx.cc/ShowDetail.aspx?id=D5C6E29D-99F5-44E8-4FED-75AF892A53CB

解决方案 »

  1.   

    没有呀 CMIC 我要的是DataList 只显示一行呀~~~~~~~~~~~~~~~~~~~~~~!
    你给的例子里没有,我只想显示一行就行了呀, 分页什么都不要!!
      

  2.   

    回: eboywy
       
      
        不是啊,老板现在对版面要求很严格啊,一定要看到设计界面的效果~~! 要不会影响其它表格呀,救命啦!
      

  3.   

    not sure if you can do that, consider to derive a class from DataList, create a ControlDesigner for your class, override GetDesignTimeHtml ... probably too complicated for you