摘要:
Request.Form.Get("from"):取得表单中name为from的控件的值. 如果from为text(客户端) 的name属性值.则Request.Form.Get("from")为其value; 如果from为select(客户端)的name,则Request.Form.Get("f... 阅读全文
摘要:
DataGridItem eItem = (DataGridItem)(((WebControl)sender).Parent.Parent); this.t_Title.Text = eItem.Cells[0].Text; 阅读全文
摘要:
1.- 2.Console.Write(String.Format("{0:D5}-{1:D5}",num/10000,num%10000)); 阅读全文
摘要:
create proc testNumber ( @ym varchar(8) ) AS BEGIN SELECT @ym + RIGHT(100001 + ISNULL(RIGHT(MAX(Number), 5), 0), 5) FROM testTable WITH(XLOCK,PAGLOCK) WHERE Number like @ym+'%' END exec test... 阅读全文
摘要:
publicstringCreateWordFile(stringCheckedInfo) ...{ stringmessage=""; try ...{ ObjectNothing=System.Reflection.Missing.Value; Directory.CreateDirectory... 阅读全文
摘要:
SPSite site = SPControl.GetContextSite(Context); SPWeb web = site.AllWebs[0]; SPFolderCollection AddFold = web.Folders ; SPFileCollection destFiles = ... 阅读全文
摘要:
SPSite site = SPControl.GetContextSite(Context); SPWeb web = site.AllWebs[0]; SPFolderCollection AddFold = web.Folders ; SPFileCollection destFiles ... 阅读全文
摘要:
private void Button1_Click(object sender, System.EventArgs e){this.Export("1.aaaaaaaaaaaaaaaaa; 2.bbbbbbbbbbbb;",Response); }public void Export(string... 阅读全文
摘要:
错误为:Unterminated string constant.原因:某地方""少了一个. 阅读全文
摘要:
点击按钮可以创建onlineworkspace.但是同样一段代码,放到Page_Load里,就会报错!原因应该是:页面还没有加载完全,是不能创建onlineworkspace的. 阅读全文