随笔分类 - ASP.NET
摘要:1.bin文件夹下有没有Interop.ADOX.dll文件。2.当前服务器有没有安装access 64位驱动,若没有,可安装AccessDatabaseEngine_X64.exe文件。3.生成的文件存放在某个盘符下,需要设置访问该文件夹权限的用户,在web.config的中配置: ...
阅读全文
摘要:--提取数字IF OBJECT_ID('DBO.GET_NUMBER2') IS NOT NULLDROP FUNCTION DBO.GET_NUMBER2GOCREATE FUNCTION DBO.GET_NUMBER2(@S VARCHAR(100))RETURNS VARCHAR(100)AS...
阅读全文
摘要:在AspNetSqlMembershipProvider中,默认的密码规则为长度大于等于7,并且包含1个除字母和数字外的特殊字符,这项规则主要由minRequiredPasswordLength和minRequiredNonalphanumericCharacters两个参数控制。minRequir...
阅读全文
摘要:string str = "测试一下ilove中国so结束";Regex reg = new Regex(@"[\u4e00-\u9fa5]");Label1.Text = reg.Replace(str,"");
阅读全文
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
阅读全文
摘要:问题描述:不能以方法的方式使用不可调用的“system.web.httprequest.querystring”解决办法:Request.QueryString["GoodsID"]而不是Request.QueryString("GoodsID")
阅读全文
摘要:问题描述:无法识别的属性“targetFramework”。请注意属性名称区分大小写。解决办法:修改.NET Framework 版本为相应版本即可,例如2.0换成4.0。参考:http://blog.csdn.net/muchlin/article/details/6800863
阅读全文
摘要:生成32位程序的mdb连接串的 Provider为:Provider=Microsoft.Jet.OLEDB.4.0而生成64位代码时,则需要使用如下的 Provider Provider=Microsoft.ACE.OLEDB.12.0参考:http://blog.163.com/xiong_we...
阅读全文
摘要:问题现象:1.未能加载文件或程序集“Interop.ADOX, Version=2.8.0.0, Culture=neutral, PublicKeyToken=bf2649b9bb8e6a82”或它的某一个依赖项。系统找不到指定的文件。2.ADOX... 没有注册类。解决办法:将应用程序生成为An...
阅读全文
摘要:最近使用VS,在引用COM组件的时候,出现了无法嵌入互操作类型“……”,请改用适用的接口的错误提示。查阅资料,找到解决方案,记录如下:选中项目中引入的dll,鼠标右键,选择属性,把“嵌入互操作类型”设置为False。
阅读全文
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->.style01{height:27px;vertical-align:middle;line-heig...
阅读全文
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//合并多行列值publicvoidGroupRows(GridViewGridView1,intcel...
阅读全文
摘要:将用户管理程序部署到SharePoint 2013平台上,系统编译报错:未能找到类型名称"MembershipProvider",此类型已转发到程序集System.web.ApplicationServices. Version=4.0.0.0。。。解决办法:添加引用System.Web.Appli...
阅读全文
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->foreach(GridViewRowrowinGridView1.Rows){CheckBoxcb=(...
阅读全文
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->publicboolIsDate(stringstr){try{DateTime.Parse(str);...
阅读全文
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->出库申请与登记
阅读全文
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->OnClientClick="returnconfirm('是否确定排除?');"
阅读全文
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->publicstaticboolRegexValidate(stringvalidateString){...
阅读全文
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->DataFormatString="{0:d}"
阅读全文
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->权限种类
阅读全文