PageAdmin网站内容管理系统(CMS)交流论坛

首页 » 用户交流区 » 网站技术资源区 » 如何将 模块 显示信息数量 与 自定义Get_date()关联?
bysxingyun - 2016/4/21 18:54:48
我在表单模型 中使用了 自定义的 get_date(),如下所示:


Get_Data("select * from article where titlepic<>'' order by thedate desc");

使用自定义get_date()方法后,显示信息数量 无法控制。暂时只能使用 例如:select top 10....,如下:


Get_Data("select  top 10 * from article where titlepic<>'' order by thedate desc");


有什么方法 把   显示信息数量  的值  赋值 给 dt.Rows.Count?   或者 top 使用变量 如:

Get_Date("select  top show_num * from article where titlepic<>'' order by thedate desc");
1
查看完整版本: 如何将 模块 显示信息数量 与 自定义Get_date()关联?