ActionLabel/Contents.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using Common;
namespace ActionLabel
{
public class Contents
{
public static string ViewTxtList(int top, int txtNum, string strWhere, string orderby, string Css, string UrlPath)
{
BLL.Contents bll = new BLL.Contents();
StringBuilder strTxt = new StringBuilder();
DataSet ds = bll.GetList(top, strWhere, orderby);
if (ds.Tables[0].Rows.Count > 0)
{
for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
{
DataRow dr = ds.Tables[0].Rows[i];
strTxt.Append("<li class=\"" + Css + "\"><a href=\"" + BasePage.URLRewrite(UrlPath, dr["CallIndex"]) + "\" title=\"" + dr["Title"].ToString() + "\">" + Utils.CutString(dr["Title"].ToString(), txtNum) + "</a></li>");
}
}
return strTxt.ToString();
}
public static void InsertData(int memberid, string Way, string Property, decimal Ubuy, decimal Sum)
{
BLL.MembersLog bll = new BLL.MembersLog();
StringBuilder strTxt = new StringBuilder();
Model.MembersLog model = new Model.MembersLog();
model.MemberId = memberid;
model.Way = Way;
model.Property = Property;
model.Ubuy = Ubuy;
model.Sum = Sum;
bll.Add(model);
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。