- 博客(8)
- 资源 (6)
- 收藏
- 关注
转载 C#中SqlParameter的作用与用法
一般来说,在更新DataTable或是DataSet时,如果不采用SqlParameter,那么当输入的Sql语句出现歧义时,如字符串中含有单引号,程序就会发生错误,并且他人可以轻易地通过拼接Sql语句来进行注入攻击。 ? 1 2 3 4 5 6 7 8 9 10 11 12 13
2016-11-25 12:57:06 1060
原创 C#中操纵SqlServer数据库
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using
2016-11-25 12:40:14 254
原创 netstat 与tasklist
找到XXX对应的PID netstat -ano|findstr "XXX" 然后找到PID"YYYY"对应的程序名 tasklist |findstr "YYYY" 如果是Linux下,那就是 ps -aux|grep"XXX"
2016-11-24 16:46:23 839 1
转载 IIS上部署MVC网站,打开后ExtensionlessUrlHandler-Integrated-4.0解决办法
处理程序“ExtensionlessUrlHandler-Integrated-4.0”在其模块列表中有一个错误模块“ManagedPipelineHandler” IIS上部署MVC网站,打开后ExtensionlessUrlHandler-Integrated-4.0解决办法 IIS上部署MVC网站,打开后ExtensionlessUrlHandler-Integrated-4.0
2016-11-17 12:48:23 2073
转载 08cms中error_08cms_licens 故障
总体思路: 要分四个大步骤完成,改两个文件,执行授权,后台系统设置->网站参数页面提交一下。 一、改mconfigs.cac.php文件 1、打开网站目录下 "dynamic\cache\mconfigs.cac.php" 这个文件; 2、搜索关键字 hosturl 找到:'hosturl' => 'http://www.old-domain.com',将"ww
2016-11-16 23:41:41 1215
转载 python 显示树莓派的cpu与cpu温度
import commands def get_cpu_temp(): tempFile = open( "/sys/class/thermal/thermal_zone0/temp" ) cpu_temp = tempFile.read() tempFile.close() return float(cpu_temp)/1000 # U
2016-11-07 20:55:14 38687
原创 Centos 7 如何安装mysql server
centos下yum暂时没有mysql-server直接安装包; MariaDB是MySQL社区开发的分支,也是一个增强型的替代品; 安装MariaDB yum -y install mariadb-server mariadb mariadb-devel systemctl start mariadb systemctl enable mariadb mysql_secure_in
2016-11-07 13:44:57 1826 1
转载 centos7使用无线wifi连接
一:所用命令 dmesg | grep firmware(看看有没有来自无线网卡的固件请求) iw: iw dev(查找无线网卡口) iw wlan0 link(查看wlan0网口无线网络连接情况) iw wlan0 scan | grepSSID(查看wlan0网口可连接的wifi) ip: ip link set wlan0 up(将无线网
2016-11-03 20:06:06 6509
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人