ADO.NET 在发送SQL语句到SQL Server数据库后,怎么知道真正INSERT,UPDATE,DELETE了多少行数据呢? 使用SQL Server内置的全局变量@@ROWCOUNT即可,@@ROWCOUNT可以返回在当前数据库连接(SqlConnection)中,执行的上一条SQL语句影 ...
分类:
数据库 时间:
2018-10-19 16:06:50
阅读次数:
145
template struct BIT { T *s; int lim; void init(int x) { lim = x, s = new T[x + 1], memset(s, 0, (lim + 1) * sizeof(int)); } void update(int x, T c) { ... ...
分类:
其他好文 时间:
2018-10-19 15:10:10
阅读次数:
132
我是在虚拟机中安装了Ubuntu 14.04 系统,在Ubuntu 中执行 apt-get update 和 apt-get upgrade 命令后,然后重启系统。 但是,在重启成功后,在登陆的界面进行登陆时,却报错误"Failed to start session" ,无法登陆。 Ubuntu 从 ...
分类:
系统相关 时间:
2018-10-19 02:03:20
阅读次数:
868
首先下载 protoc 2.6.1 然后安装gcc 遇到各种 glibc 和glibc-common 的各种 版本不匹配, 最简单的办法 是yum update ,然后 yum downgrade 包名 ,即可解决 然后重新安装 遇到glibc 冲突独立安装 sudo yum downgrade g ...
分类:
其他好文 时间:
2018-10-19 02:02:44
阅读次数:
203
具体操作:打开Eclipse --> Help --> Install New Software --> 点击add按钮,输入下载地址:http://subclipse.tigris.org/update_1.10.x,点击OK 将Subclipse和SVNKit打勾后,一路next或agree到结 ...
分类:
系统相关 时间:
2018-10-19 00:12:25
阅读次数:
195
本人使用的是在线安装: 打开Eclipse -> Help -> Install New SoftWare-> Add 然后按照如下对话框输入: Name:Activiti BPMN 2.0 designer Location:http://www.activiti.org/designer/upd ...
分类:
系统相关 时间:
2018-10-18 22:02:52
阅读次数:
222
安装jdk 一、通过ppa源下载: 1.添加ppa元, sudo add-apt-repository ppa:webupd8team/java #等待一会儿 sudo apt-get update 2.安装oracle-java-installer sudo apt-get install ora ...
分类:
其他好文 时间:
2018-10-18 18:07:10
阅读次数:
161
数据库(一个后台验证密码的表 另一个跟租房子(用户)的那个一样 ) 文件路径 login.html 代码 login.PHP shouye.html shouye.js shouye.PHP tianjia.html tianjia.PHP update.html update.PHP ...
分类:
其他好文 时间:
2018-10-18 10:56:57
阅读次数:
104
No more fucking words, Here is the way. Software & Updates --> Ubuntu Software --> Download from --> Other --> Select Best Server ...
分类:
系统相关 时间:
2018-10-18 01:19:14
阅读次数:
223
#!/usr/bin/env python#-*- coding: utf-8 -*-'''Create date: 2018-10-17Last update:Version: 1.0Description:登陆限制需求: X.X网段不允许访问外网 root用户登陆可以访问外网 root用户登陆情 ...
分类:
其他好文 时间:
2018-10-18 01:06:27
阅读次数:
223