Use 相关的软件列表

CommonJs 和 ES6 Module 区别
JavaScript

CommonJs 和 ES6 Module 区别

2023-12-28 标签:CommonJs 和 ES6 Module 区别,CommonJs,ES6,js,export default,export.moudle

ES6 示例:user.jsexport var age = 22;setTimeout(() => {age = 33;}, 500);index.jsimport * as user from './user';console.log('修改之前的age:%s', user.age);se

C# NiceLabel报错ErrorService.Handler property must be assigned before being used!
C#.net

C# NiceLabel报错ErrorService.Handler property must be assigned before being used!

2023-01-13 标签:C# NiceLabel,ErrorService.Handler,property must be assigned,NiceLabel二次开发

今天在用C#进行NiceLabel二次开发时,报错ErrorService.Handler property must be assigned before being used!百度没有什么资料,后面认真看了下NiceLabel官方的C#二次开发示例才知道少了引擎初始化.即加上下面一行代码即可:P

NET6报错A relational store has been configured without specifying either the DbConnection or connection string to use
Asp.net

NET6报错A relational store has been configured without specifying either the DbConnection or connection string to use

2022-01-28 标签:NET6,报错,A,relational,store,configured,without,specifying,either,DbConnection,connection,string,use,MysqlContext,options,ConnectionString,版本,asp.net,core6.0

今天在将项目升级到asp.net core6.0后发现报错A relational store has been configured without specifying either the DbConnection or connection string to use.项目使用的数据库是My

C#net core报Keys will not be persisted to storage
Asp.net

C#net core报Keys will not be persisted to storage

2022-01-22 标签:C#,net,core,Keys,persisted,storage,存储,Using,repository,HKLM,应用程序,密钥,注册表,用户,修改,配置文件,memory,Neither

今天在查看网站日志的,看到警报:Using an in-memory repository. Keys will not be persisted to storage.Neither user profile nor HKLM registry available. Using an epheme

You cannot use single-statement control-flow statements in CSHTML pages
C#.net

You cannot use single-statement control-flow statements in CSHTML pages

2020-07-05 标签:You,cannot,use,single,statement,control,flow,statements,CSHTML,pages,isLoggedIn,user,ldquo,rdquo,语句,cshtml,xxx,Hello,页面

今天在写cshtml页面报错:An error occurred during the compilation of a resource required to process this request. Please review the following specific err

Mysql Column 'status' in where clause is ambiguous 错误解决方法
MySQL

Mysql Column 'status' in where clause is ambiguous 错误解决方法

2020-07-05 标签:Mysql,Column,status,clause,ambiguous,错误,解决,方法,join,查询,多表,报错,inner,left,表中,表名,解决办法,数据库

今天在用Mysql数据库查询的时候报错:Column 'status' in where clause is ambiguous。出现这个错误是因为用inner join或left join等多表关联查询时,两个或多个表中存在相同的字段却没有指明表名导致。解决办法也很简单

asp.net页面间变量值传递的方法
Asp.net

asp.net页面间变量值传递的方法

2020-06-17 标签:asp,net,页面,变量,传递,方法,通过,url,链接,地址,send,aspx,protected,void,button,click

第一种方法:通过URL链接地址传递send.aspx: protected void Button1_Click( sender, EventArgs e){Request.Redirect("Default2.aspxusername=honge");}receive.aspx:string us

js判断苹果系统 js判断是否MacOS
JavaScript

js判断苹果系统 js判断是否MacOS

2020-06-14 标签:js,判断,苹果,系统,是否,MacOS,userAgent,macintosh,mac,os,function,isMac,return,test,navigator,toLowerCase,浏览器,正则,字符

js判断苹果系统 js判断是否MacOS,代码很简单,就是通用浏览器的userAgent正则匹配是否带macintosh|mac os x字符function isMac() {return /macintosh|mac os x/i.test(navigator.userAgent.t

js修改注册表实例代码
JavaScript

js修改注册表实例代码

2020-06-12 标签:javascript,修改,注册表,实例,代码,有关,安全,设置,的说,路径,hkey,current,user,software,microsoft,windows,internet

注册表有关安全设置项的说明:注册表路径:HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones1.Zones 项包含表示为计算机定义的每个安全区域的项。默认情况下,定义以下 5个区域(编号

Z.EntityFramework.Extensions BulkUpdate更新指定字段
C#.net

Z.EntityFramework.Extensions BulkUpdate更新指定字段

2020-06-12 标签:Z,EntityFramework,Extensions,BulkUpdate,更新,指定,db,Name,选项,new,uses,字段,属性,代码,映射

Z.EntityFramework.Extensions BulkUpdate更新指定字段批量更新可以使用以下选项进行更新包含或不包含的字段属性.ColumnInputExpression:此选项可让您选择要映射的属性。IgnoreOnUpdateExpression:使用此