+ -
当前位置:首页 → 问答吧 → 这句怎么换成ASP呢,头痛啊

这句怎么换成ASP呢,头痛啊

时间:2011-11-21

来源:互联网

bs = (Convert.ToDouble(totalAmount) / Convert.ToDouble(totalNums) / buymodel).ToString();
  //总倍数
  string ltlimit = LTP.Common.function.ltlimit("CTT", retype1);

  object maxlimit = Maticsoft.DBUtility.DbHelperSQL.GetSingle("select sum(convert(int,beishu)) from buy_fs where expect='" + buyIssue + "' and protype='" + check + "' and username='" + username + "'");

  if (maxlimit == null)
  {
  maxlimit = "0";
  }
  if (Convert.ToInt32(bs) > Convert.ToInt32(bslt))
  {
  bsxz = 1;
  }
  else if (Convert.ToInt32(ltlimit) < (Convert.ToInt32(maxlimit) + Convert.ToInt32(bs)))
  {
  bslt = (Convert.ToInt32(ltlimit) - Convert.ToInt32(maxlimit)).ToString();
  bsxz = 11;

作者: dirbing   发布时间: 2011-11-21

那句话?

作者: zsx841021   发布时间: 2011-11-21

全部啊

作者: dirbing   发布时间: 2011-11-21

ASP的判断语句是
if 条件 then

elseif 条件 then

else

end if

查询语句也很简单,网上都有

作者: chinmo   发布时间: 2011-11-21