摘要: SharePoint2013和2010webparth上传附件到其他列表前台: 共上传 个 protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { ViewState["demo"] = 0; } } protected void Button1_Click(o... 阅读全文
posted @ 2014-02-25 17:42 914556495 阅读(221) 评论(0) 推荐(0)
摘要: protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { Session["demo"] = new List(); } } private static int f;//给全局变量并赋值0,static可以保存值 protected void Button1_Click(object sender, EventArgs e... 阅读全文
posted @ 2014-02-25 15:51 914556495 阅读(239) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-02-25 13:38 914556495 阅读(261) 评论(0) 推荐(0)
摘要: protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { Session["demo"] = new List(); ////Session["demo"] = new List(); } } public string ls;//定义全局变量 protected void Button2_Click(object... 阅读全文
posted @ 2014-02-25 10:27 914556495 阅读(318) 评论(0) 推荐(0)
摘要: +=不好解释!首先举个例子吧:a+=1就是a=a+1; 阅读全文
posted @ 2014-02-25 08:45 914556495 阅读(1016) 评论(0) 推荐(0)
摘要: w7 100mb分区删除在c盘下直接输入bcdbootc:\windows/sc: 阅读全文
posted @ 2014-02-25 08:34 914556495 阅读(113) 评论(0) 推荐(0)
摘要: TextBox1属性必须如下:clientidmode=static 阅读全文
posted @ 2014-02-25 08:31 914556495 阅读(240) 评论(0) 推荐(0)