private void AddStudent(){string strName =txtName.Text.Trim();string strPwd = txtPwd.Text.Trim();string strSql ="insert into Student (name,pwd)values(...
分类:
数据库 时间:
2015-01-27 00:23:54
阅读次数:
194
1.备份1 ①.进入数据库2 mysql -uroot -p pwd;3 ②.查看数据库4 show databases;5 ③.备份数据库6 mysqldump -hlocalhost -uroot(用户名) -p1234(密码) dbname(源数据库)>f:/file.sql(备份文件)2.还...
分类:
数据库 时间:
2015-01-26 16:56:44
阅读次数:
213
$(document).ready(function() { $.ajax({ url : "/AjaxAction/LoginArea.ashx", data : {username:user,password:pwd}, type : "POST"...
分类:
Web程序 时间:
2015-01-26 15:00:03
阅读次数:
138
private void button1_Click(object sender, EventArgs e) { //连接数据库 string sqls = "server=.;database=schoolData;user=sa;pwd=";//.本机的地址,数据库的文件名,sa:登录用户名 ....
分类:
数据库 时间:
2015-01-25 17:52:34
阅读次数:
192
其实写这篇文章文档API上讲的更详细,但是太分散,所以我把它集中起来,以备后用。
初始化配置
//'配置项'=>'配置值'
'DB_TYPE'=>'mysql', //新版本必须加上这个
'DB_HOST' => '127.0.0.1',
'DB_USER' => 'root',
'DB_PWD' => '123',
'DB_NAME' => 'weibo',
'...
分类:
数据库 时间:
2015-01-25 15:21:01
阅读次数:
282
MySQL数据库操作类: 1 db_host = $db_host; 19 $this->db_user = $db_user; 20 $this->db_pwd = $db_pwd; 21 $this->db_database = $db_data...
分类:
数据库 时间:
2015-01-24 19:59:55
阅读次数:
259
下面以调用:Sql Server 分页存储过程为例
调用代码如下:
string MyConn = "server=数据库服务器Ip;uid=数据库用户名;pwd=密码;database=数据库名称;Trusted_Connection=no";
SqlConnection MyConnection = new SqlConnection(MyConn);...
不多说了,curl的http上传文件代码示例,有需要的可以参考。int http_post_file(const char *url, const char *user, const char *pwd, const char *filename){ assert(url != NULL); ass...
分类:
Web程序 时间:
2015-01-24 10:07:33
阅读次数:
170
public static void main(String[] args) throws IOException {
Connection.Response res = Jsoup.connect("http://***.com/authorize")
.data("u", "123456789@123.com", "pwd", "****","k","y","op","l")...
分类:
Web程序 时间:
2015-01-23 23:02:10
阅读次数:
203
头文件 1 #ifndef __SIMS__ 2 #define __SIMS__ 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #define PWD_LEN 10 10 #define ...
分类:
其他好文 时间:
2015-01-22 00:08:56
阅读次数:
300