js实现选中复制的功能
1.选中 2.复制选中利用 Selection API复制使用execCommand一般使用插件clipboard.js完成复制粘贴DemoMussum ipsum cacildscopy to clipboardMussum ipsum cacildsCut to clipboardconst c
1.选中 2.复制选中利用 Selection API复制使用execCommand一般使用插件clipboard.js完成复制粘贴DemoMussum ipsum cacildscopy to clipboardMussum ipsum cacildsCut to clipboardconst c
今天在将项目升级到asp.net core6.0后发现报错A relational store has been configured without specifying either the DbConnection or connection string to use.项目使用的数据库是My
最近在用PowerDesigner 16.7生成SqlServer脚本时,突然多了collate chinese_prc_ci_as和constraint等字眼在语句中,如图:这些其实在MSSQL创建时中不要问题其实也不大,特别是字符集.当然要指定的除外.那么如何让PD生成SQL语句时不带colla
今天进行asp.net后端Response.Redirect跳转的时候提示错误:Invalid non-ASCII or control character in header: 0x7F16.大概的意思是包含了非ASCII字符即非法字符.那么如何解决了,很简单,将链接用Uri.Esca
今天用sqlserver 的float字段类型存超过四位小数之后,会有问题.类似0.00005这种.小数前是0这种,会存储显示成5E-05 xE-05 xE-06 xE-07 xE-08,如图:找了下资料,没有说是bug问题.应该是精度的问题导致,改成decimal类型指定精度就好了.
今天在写cshtml页面报错:An error occurred during the compilation of a resource required to process this request. Please review the following specific err
The types of the properties specified for the foreign key {'id'} on entity type do not match the types of the properties in the principal key {'id'} on entity type .InvalidOperationException:为实体类型'e_down'上的外键{'classid'}指定的属性类型与实体类型'e_category'上的主键{'classid'}中指定的
js判断苹果系统 js判断是否MacOS,代码很简单,就是通用浏览器的userAgent正则匹配是否带macintosh|mac os x字符function isMac() {return /macintosh|mac os x/i.test(navigator.userAgent.t
今天在给EF模型中设置一对一关系报错:EntityFramework 模型生成过程中检测到一个或多个验证错误: 多重性与关系tableA中 RoletableB中的引用约束冲突。因为 Dependent Role 中的所有属性都不可以为 null,Principal Role 的多重性必
今天在新建mysql 数据库时报错误:ERROR 1273: Unknown collation: 'utf8mb4_0900_ai_ci',意思就是MySQL不支持这个字符集排序.网上找了下,报错这个基本就是自己MySQL数据库版本太旧导致,改为utf8mb4_general_ci即可.