protected void Page_Load(object sender, EventArgs e) { _id = KillSqlIn.Url_ReplaceByNumber(Request.QueryString["id"], 10); _rd = KillSqlIn.Url_ReplaceByNumber(Request.QueryString["rd"], 10); if (!IsPostBack) { //BindArticleCateoryDrp(); CheckPopedom(); } }
protected void Page_Load(object sender, EventArgs e) { rd = Request.QueryString["rd"] == null ? "0" : KillSqlIn.Url_ReplaceByNumber(Request.QueryString["rd"].ToString(), 5); _Lid = Request.QueryString["LinkId"] == null ? "0" : KillSqlIn.Url_ReplaceByNumber(Request.QueryString["LinkId"].ToString(), 5); if (!IsPostBack) { BindLinkCateory(); CheckPopedom(); if (rd == "1") { SetReadOnlyPanel("readonly_input"); LinkButton1.Visible = false; } } }
protected void Page_Load(object sender, EventArgs e) { rd = Request.QueryString["rd"] == null ? "0" : KillSqlIn.Url_ReplaceByNumber(Request.QueryString["rd"].ToString(), 5); id = Request.QueryString["id"] == null ? "0" : KillSqlIn.Url_ReplaceByNumber(Request.QueryString["id"].ToString(), 5); if (!IsPostBack) { LoadPlatFormShare(); LoadTXPlatfrom(); LoadTopicInfo(); if (rd == "1") { LinkButton1.Visible = false; } } }
protected void Page_Load(object sender, EventArgs e) { rd = Request.QueryString["rd"] == null ? "0" : KillSqlIn.Url_ReplaceByNumber(Request.QueryString["rd"].ToString(), 5); id = Request.QueryString["id"] == null ? "0" : KillSqlIn.Url_ReplaceByNumber(Request.QueryString["id"].ToString(), 5); if (!IsPostBack) { LoadPlatFormShare(); LoadSubjectFormShare(); LoadMarketFormShare(); LoadTXPlatfrom(); string share = ado.ExecuteSqlScalar("select ShareToPlatform from WTO_YJTB where ID=" + id).ToString(); string share1 = ado.ExecuteSqlScalar("select ShareToSubject from WTO_YJTB where ID=" + id).ToString(); string share2 = ado.ExecuteSqlScalar("select ShareToMarket from WTO_YJTB where ID=" + id).ToString(); SelectPlatFormShare(share); SelectSubjectFormShare(share1); SelectMarketFormShare(share2); } }
protected void Page_Load(object sender, EventArgs e) { memberid = Request.QueryString["memberid"] == null ? "" : KillSqlIn.Url_ReplaceByNumber(Request.QueryString["memberid"].ToString(), 10); }