我用gridview + objectdatsource来实现分页,分页得算法用得是临时表。
我在objectdatasource里面申明了StartRowIndexParameterName="startRowIndex" MaximumRowsParameterName="maxinumRows" 两个参数,
并且在后台得selectmothod里面也用了同样得参数。可是我用sql server 2005得事件跟踪器跟踪得时候,老说maxinumRows = -1该在哪里赋值啊?