上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 58 下一页
摘要: System.Data.ConstraintException: Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints. at System.Data.DataTable.EnableConstraints() at System.Data.DataTable.set_EnforceConstraints(Boolean value) at System.Data.DataTable.EndLoadDat... 阅读全文
posted @ 2014-02-28 16:22 VipSoft 阅读(2985) 评论(0) 推荐(0)
摘要: SELECT * FROM aspnet_RolesGODECLARE @role varchar(50) DECLARE CusCursor CURSOR FOR select RoleName from aspnet_Roles OPEN CusCursor FETCH NEXT FROM CusCursor INTO @role WHILE (@@FETCH_STATUS = 0) BEGIN SELECT @role --这里写SQL语句 FETCH NEXT FROM CusCursor INTO @role ... 阅读全文
posted @ 2014-02-26 16:33 VipSoft 阅读(427) 评论(0) 推荐(0)
摘要: FileHandlerhttp://www.cnblogs.com/vipsoft/p/3627709.htmlUpdatePanel无法导出下载文件:http://www.cnblogs.com/vipsoft/p/3298299.html//相对路径下载。path: ~/DownLoad///public static bool DownLoadFile(string path, string fileName){ bool result = false; try { string filePath = HttpContext.Current.Server... 阅读全文
posted @ 2014-01-16 09:35 VipSoft 阅读(4424) 评论(0) 推荐(0)
摘要: 一键制作启动u盘失败的主要原因是什么?今天u启动小编就和大家一起来分析原因并寻求答案吧!原因分析:1、u盘内有文件正在运行或者是打开;2、u盘自身的质量问题;3、最主要的原因是:QQ电脑管家导致;解决方案:1、关闭u盘里面正在运行或者打开的文件,再制作试试;2、换一个u盘制作试试;3、把电脑QQ管家退出来,再制作启动u盘;目前发现很多用户在利用u启动v5.0制作启动u盘时出现“一键制作启动u盘失败”的原因在于电脑运行了“QQ电脑管家”,所以为了避免您在制作启动u盘的过程中出现类似的问题,请您在制作启动u盘前退出QQ电脑管家。 阅读全文
posted @ 2013-12-12 22:18 VipSoft 阅读(440) 评论(0) 推荐(0)
摘要: 由于将IE11升级到了 11 之前的网站无法正常使用,如果是开发人员碰到之问题,使用了微软的asp.net 控件,那么将服务器的.net framework 升级到 4.5http://www.microsoft.com/en-us/download/details.aspx?id=30653如果浏览别人的网站,没办法修改服务器的设置,出现了兼容性问题(方法2可解决此类问题)。1.在F12改变模式的情况下是可以正常方法,但退出 F12 Developer Tools 仍然无法使用,F12总不能一直开着,所以这种方式只能在开发模式下使用。2.将当前域名添加到Compatibility View 阅读全文
posted @ 2013-12-04 13:49 VipSoft 阅读(317) 评论(0) 推荐(0)
摘要: 这种方法可以重复利用,如果下次它又消失了,你可以再导入一次就OK了。比如我们创建一个叫 notepad++.reg的文件,将下面的内容拷贝进去保存Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\*\Shell\NotePad++][HKEY_CLASSES_ROOT\*\Shell\NotePad++\Command]@="\"D:\\Programs\\Notepad++\\notepad++.exe\" \"%1\"" 阅读全文
posted @ 2013-11-06 11:25 VipSoft 阅读(657) 评论(0) 推荐(1)
摘要: datatable是一个jquery扩展的表格插件。其提供了强大的表格功能。官方地址:http://www.datatables.net/在官方示例中,对于表格的是否可排序是在初始化中设置的一个值来决定的$(".datatable-simplified").dataTable( { "bSort": false});如果要在初始化时就指定默认以哪一列来排序则$(document).ready(function() { $('#example').dataTable( { "aaSorting": [[ 4, " 阅读全文
posted @ 2013-11-05 22:32 VipSoft 阅读(5926) 评论(0) 推荐(0)
摘要: 1.运行注册表regedit,进入到HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default项,在右边窗口有若干个MRU+数字,全部删除。2.再删除我的文档My Documents下Default.rdp(系统隐藏)文件。经过以上的设置后,再次启动远程桌面客户端程序,你将发现记录已经不存在了。 阅读全文
posted @ 2013-09-23 10:02 VipSoft 阅读(358) 评论(0) 推荐(1)
摘要: 如果你在GridView控件上设置 AllowPaging="true" or AllowSorting="true" 而没有使用使用数据源控件 DataSource (i.e. SqlDataSource, ObjectDataSource),运行则会出现下列错误: 当你在GridView控件上单... 阅读全文
posted @ 2013-09-18 14:36 VipSoft 阅读(409) 评论(0) 推荐(0)
摘要: 是不是用了mini-KMS_Activator这个工具去激活?是的话,把mini-KMS_Activator点出来,使用第一个按钮Install / Uninstall KM Service把它的服务停掉。然后再用Office 2010 Toolkit就可以正常工作了。 或者把KM Service这个服务(进程)关闭Office 2010 Toolkit 需要装 .NET Framework 4.0 阅读全文
posted @ 2013-09-08 22:17 VipSoft 阅读(5020) 评论(0) 推荐(0)
摘要: 1. install all features in IIS2. Try the following steps to register it.run %windir%\Microsoft.NET\Framework\v4.0.21006\aspnet_regiis.exe -i或运行,跳出如下错误:开发环境是Window Server2008, Visual Studio2010。出现原因:在安装开发环境时有关模块的安装顺序不太正确引起。(如先安装.NetFramework v4.0后安装IIS)解决方法:一、修复 .NET Framework 4.0.针对 32 bit or 64 bit 阅读全文
posted @ 2013-09-03 16:15 VipSoft 阅读(560) 评论(0) 推荐(0)
摘要: protected void Page_Load(object sender, EventArgs e){ ScriptManager sm = Page.Master.FindControl("ScriptManager1") as ScriptManager; if (sm != null) { foreach (GridViewRow item in gvInvoiceHistory.Rows) { LinkButton lbtnTemp = item.FindControl("btnInvoiceNumber") a... 阅读全文
posted @ 2013-09-03 11:04 VipSoft 阅读(2012) 评论(0) 推荐(1)
摘要: 由于在.net中,Request时出现有HTML或Javascript等字符串时,系统会认为是危险性值。立马报错。解决方案一:在.aspx文件头中加入这句:解决方案二:修改web.config文件:因为validateRequest默认值为true。只要设为false即可。 阅读全文
posted @ 2013-08-21 11:35 VipSoft 阅读(219) 评论(0) 推荐(0)
摘要: 前一段时间,老大给了个需求,就是对部分表进行了分库,所以,原库里面的存储过程、视图和函数里的表名等信息也要跟着更新,刚开始尝试手动检查了几个存储过程,可发现存储过程太多,检查起来效率很低,还容易出错,况且还有视图和函数,所以就想到了 Sql Server 内置的目录视图,找了一下,果然找到了解决办法:use ReportServer$SQLSERVER select a.name,a.[type],b.[definition] from sys.all_objects a,sys.sql_modules b where a.is_ms_shipped=0 and a.object_id = b 阅读全文
posted @ 2013-08-14 15:46 VipSoft 阅读(17943) 评论(0) 推荐(1)
摘要: asp.net updatepanel 局部刷新,导致JS不能加载,而无法使用,而且 updatepanel会刷两次,郁闷的。解决方法如下: 阅读全文
posted @ 2013-08-12 10:51 VipSoft 阅读(397) 评论(0) 推荐(0)
摘要: 整理两个 在C#中,用正则表达式 获取网页源代码标签的属性或值的方法 :1、获取标签中的值: CSDN 结果:CSDN/// /// 获取字符中指定标签的值 /// /// 字符串 /// 标签 /// 值 public static string GetTitleContent(string str, string title) { string tmpStr = string.Format("]*?>(?[^", title, title); //获取之间内容 Match TitleMatch = Regex.Match(str, tmpStr, Re... 阅读全文
posted @ 2013-08-04 21:11 VipSoft 阅读(16324) 评论(1) 推荐(1)
摘要: 已经安装net2.0 和3.5 ,但IIS里面却只有1.1开始→运行→CMDC:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i按回车键后便会开始自动安装,安装完重启一下IIS在IIS中ASP.NET选项卡便可以看到。注意:我们会发现在V3.5的文件夹中是没有aspnet_regiis.exe这个文件的,所以Framework 3.5在IIS的ASP.NET选项是找不到的,因为3.0 3.5中都是额外的功能的,但他们的编译后的代码还是2.0的,因为.NET框架是基于静态编译的代码,因此用2.0即可解释IL了。3.5 阅读全文
posted @ 2013-07-16 21:08 VipSoft 阅读(817) 评论(0) 推荐(0)
摘要: Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist原因是重装的时候数据目录不一致导致解决方法:[root@Oracle mysqld]# /usr/bin/mysql_install_db --user=mysql --datadir=/var/lib/mysql/ 阅读全文
posted @ 2013-06-13 12:02 VipSoft 阅读(344) 评论(0) 推荐(0)
摘要: [Thu Jun 06 15:20:04 2013] [error] [client 172.29.165.86] (13)Permission denied: exec of '/var/www/html/bugzilla/index.cgi' failed, referer: http://172.29.165.134/bugzilla/[Thu Jun 06 15:20:04 2013] [error] [client 172.29.165.86] Premature end of script headers: index.cgi, referer: http://17 阅读全文
posted @ 2013-06-06 15:27 VipSoft 阅读(2870) 评论(0) 推荐(0)
摘要: <compilationdebug="true"><buildProviders><addextension=".html"type="System.Web.Compilation.PageBuildProvider"/></buildProviders></compilation><httpHandlers><addpath="*.html"verb="*"type="System.Web.UI.PageH 阅读全文
posted @ 2013-05-20 23:38 VipSoft 阅读(17624) 评论(0) 推荐(0)
上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 58 下一页