public static DataTable GetNewsTop(int count)
{
string sqlStr = "select top "+ count +" * from News order by [Order] ";
return AccessorDB.ExecuteQuery(sqlStr).Tables[0];
}
在数据库里试了下 问题在"+ count +" 这里 可是怎么改啊
------解决方案--------------------------------------------------------
count.ToString()