private void BindList(V_STEP_FORM_TPL condObj) { if (condObj.af_PageByAttributeItem == null)//����������û�����ķ�ҳ�������ԣ����������������� condObj.af_PageBy(V_STEP_FORM_TPL.Attribute.STEP_FID, Order.Desc); listObj = BLLTable<V_STEP_FORM_TPL>.Factory(conn).Select(valObj, condObj); repList.DataSource = listObj; repList.DataBind(); }
private void BindList(V_STEP_FORM_TPL condObj) { if (condObj.af_PageByAttributeItem == null)//如果不存在用户定义的分页排序属性,则用主键属性排序 { condObj.af_PageBy(V_STEP_FORM_TPL.Attribute.STEP_FID, Order.Desc); } listObj = BLLTable <V_STEP_FORM_TPL> .Factory(conn).Select(valObj, condObj); repList.DataSource = listObj; repList.DataBind(); }