company/news.aspx.cs
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls.WebParts;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Net;
using KeerUC.UC.sk;
namespace KeerUC.UC.company
{
public partial class news : sk.UCBase
{
protected string PID = HttpContext.Current.Request["pid"];
protected string CID = "";
protected string filename = HttpContext.Current.Request["fn"];
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
//将企业编号转到CID,便于其它调用
//CID = GetCompanyID(filename);
CID = filename;
//加载企业属性
Get_Company_var(CID);
//CompanyNameLiteral.Text = "<div class=\"companynamelogo\">" + Get_CompanyName(Product_CompanyID) + "</div>";
//设置head
//Product_title = Product_Name + "-" + Product_CompanyName + "-业谷商企在线";
Company_title = Company_Name + "-业谷商企在线 商务B2B平台";
//Company_keywords = Product_keywords.Replace("阿里巴巴", "");//过虑阿里巴巴
//Company_description = Product_description.Replace("阿里巴巴", "");//过虑阿里巴巴
CompanyNameLiteral.Text = "<div class=\"companynamelogo\">" + GetCompanyName(CID) + "</div>";
//解析价格组
string IsPrice3 = "N";//如果该值不被改变,表示没有price3价格,需要填写price价格
if (Product_Price3!="")
{
//Regex Price3 = new Regex("[(?<name>.+)]");
//MatchCollection Price3 = Price3.Matches(Product_Price3);
//ContentTextBox.Value += "公司介绍:" + content[0].Groups["content"] + "<br>";
MatchCollection Price3 = Regex.Matches(Product_Price3, @"\[([\s\S]*?)\]");
foreach (Match NextMatch in Price3)
{
IsPrice3 = "Y";
后面还有 124 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
