App_code/Common/IndustryType/R_IndustryType.cs
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using SqlOperate;
/// <summary>
/// R_IndustryType 的摘要说明
/// </summary>
namespace Product
{
public class RIndustryType : IIndustryType
{
public static string ConnectionString = ConfigurationManager.ConnectionStrings["sqlData"].ConnectionString;
#region IIndustryType 成员
/// <summary>
/// 添加行业分类信息
/// </summary>
/// <param name="eui">行业信息对象</param>
/// <returns></returns>
public int Insert(TIndustryType eui)
{
SqlParameter[] commandParameters = new SqlParameter[]
{
new SqlParameter("@Type", eui.Type),
new SqlParameter("@ToRelease", eui.ToRelease),
new SqlParameter("@ID", eui.ID),
new SqlParameter("@Sequence", eui.Sequence)
};
return SqlHelper.ExecuteNonQuery(CommandType.StoredProcedure, "SP_W_IndustryType_ADD ", commandParameters);
}
/// <summary>
/// 修改行业分类信息--暂时没做修改
/// </summary>
/// <param name="eui"></param>
/// <returns></returns>
public int Update(TIndustryType eui)
{
SqlParameter[] commandParameters = new SqlParameter[]
{
new SqlParameter("@ID", eui.ID),
new SqlParameter("@Type", eui.Type),
new SqlParameter("@Sequence", eui.Sequence)
};
return SqlHelper.ExecuteNonQuery(ConnectionString, CommandType.StoredProcedure, "SP_W_IndustryType_Update", commandParameters);
}
/// <summary>
/// 更新排序字段
/// </summary>
/// <param name="paixu">排序字段id</param>
/// <param name="lbid">主字段id</param>
后面还有 135 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。