Beispiel #1
0
 public RepExpression(Expression expression, Expression?separator, RepCount count, MatchOrder order = MatchOrder.Greedy)
 {
     Expression = expression;
     Separator  = separator;
     Count      = count;
     Order      = order;
 }
Beispiel #2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            string TypeName = Request.QueryString["TypeName"];
            if (Request.QueryString["id"] != null)
            {
                id = Request.QueryString["id"];

                DataTable dt = GetRepHome(TypeName);
                RepHome.DataSource = dt;
                RepHome.DataBind();
                RepTitle.DataSource = dt;
                RepTitle.DataBind();
                RepCount.DataSource = dt;
                RepCount.DataBind();
            }
            if (Request.QueryString["SiteId"] != null)
            {
                SiteId = Request.QueryString["SiteId"];
                DataTable dt = GetSiteAffiches();
                RepTitle.DataSource = dt;
                RepTitle.DataBind();
                RepHome.DataSource = dt;
                RepHome.DataBind();
                RepCount.DataSource = dt;
                RepCount.DataBind();
            }
            NewsBind();
        }
    }