随笔分类 - ASP.NET
摘要:找出能与WSL2连接的那个IP。启动WSL2,在子系统Linux键入如下命令: cat /etc/resolv.conf 如: nameserver 172.27.160.1 172.27.160.1就是我们要找的Windows的IP Address 找出wsl的ip启动WSL2,键入如下命令: $
阅读全文
摘要:最近有个项目,需要在web上批量给设备设置智能围栏,设备超出范围报警,查看高德地图webJS API,web端操作案例如,后台判断没有提供源码
阅读全文
摘要:The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine. 今天装了64位win7,编译成功了,放在IIS里运行出错。The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine. 在此记录下来:The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine. s在网
阅读全文
摘要:在ASP.NET开发中,有时需要动态添加表单元素,即在运行时根据用户的需求选择,往页面上添加指定数量的表单元素。一般容易犯的错误,是用开发Winform应用程序的思路,在后台简单编写诸如下面的代码: TextBox tb=new TextBox(); div1.Controls.Add(tb); WebForm有个特点,应用程序的界面和后台逻辑是分别运行在不同地方,即浏览器端负责页面的解析...
阅读全文