bug1: 相关问题,相关文章显示列表,若结果集为空,sql语句执行错误
cause: SqlDataReader reader = DbHelper.ExecuteReader(
String.Format("SELECT QuestionTagAssociation.* FROM [Question],[QuestionTagAssociation] WHERE Question.qid=QuestionTagAssociation.qid and tid in(" + b + ")"
),conn
b可能为空
fix: if(b=="")return

bug2: List.aspx,选择排序规则后一直显示载入问题
cause:
function changeMode()
{
var type = $("#TypeList").val();
var orderType = $("#OrderTypeList").val();
load(tagId,type,orderType,pageNum);
}
fix: 删除 var type = $("#TypeList").val();

相关文章:

  • 2022-12-23
  • 2021-04-27
  • 2021-10-21
  • 2022-12-23
  • 2021-11-24
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-09
  • 2022-12-23
相关资源
相似解决方案