// 判断总页数
public int ShowPageCount()
{
string sql = "select count(*) from Notice";
int i = Convert.ToInt32(gxc.dbExecuteSql4(sql));
if (i % 10 == 0)
{
i = i / 10;
}
else
{
i = i / 10 + 1;
}
return i;
}
{
string sql = "select count(*) from Notice";
int i = Convert.ToInt32(gxc.dbExecuteSql4(sql));
if (i % 10 == 0)
{
i = i / 10;
}
else
{
i = i / 10 + 1;
}
return i;
}