1 Method POST 2 URL https://vjudge.net/user/login 3 Proto HTTP/1.1 4 ProtoMajor 1 5 ProtoMinor 1 6 Header map[Referer:[http://127.0.0.1:8002/] Accept- ...
分类:
其他好文 时间:
2017-05-28 09:58:54
阅读次数:
662
1.数据层的编写 NewListInfoDal.cs: GetPageEntityList方法,根据start,end取出数据 --row_number() over()函数查询 LoadEntity方法:初始化,将datatable中的每行添加到对象中 GetRecordCount方法:获取T_n ...
分类:
Web程序 时间:
2017-05-26 12:05:29
阅读次数:
260
if (File.Exists(HttpContext.Current.Server.MapPath(stuModel.Head)) != false) { //DAL.FaceImg faceImgDal = new DAL.FaceImg(); //DownFile(headFirst + sm ...
分类:
其他好文 时间:
2017-05-25 01:27:19
阅读次数:
279
import re'''re模块 compile match search findall group groups正则表达式常用格式: 字符:\d \w \t . (\d:数字;\w:字母数字下划线_;\t:制表符;点.:处了回车外的所有字符) 次数:* + ? {m} {m,n}(+:>=1数字 ...
分类:
编程语言 时间:
2017-05-24 23:54:15
阅读次数:
191
一、最常用的匹配语法 re.match 从头开始匹配 re.search 匹配包含 re.findall 把所有匹配到的字符放到以列表中的元素返回 re.splitall 以匹配到的字符当做列表分隔符 re.sub 匹配字符并替换 二、常用正则表达式符号 '.' 默认匹配除\n之外的任意一个字符,若 ...
分类:
其他好文 时间:
2017-05-24 22:33:20
阅读次数:
250
1.空项目的搭建,三层的搭建(各层之中的引用) webapp:bll,model,common bll:dal,model dal:model 2.SQL表 ItcastDb:T_UserInfo,T_News,T_NewComments T_UserInfo: T_News: T_NewComme ...
分类:
Web程序 时间:
2017-05-24 09:54:13
阅读次数:
242
由于各种应用,我们需要调用系统的打开文件对话框或者打开文件夹对话框,或两者兼有。今遇到这个情况已经解决,特写下这篇博文。 1.打开文件对话框常用的方法是使用系统的CFileDialog。这里介绍另外一种方法就是使用OPENFILENAME这个结构体和GetOpenFileName()这个函数,可以实 ...
分类:
编程语言 时间:
2017-05-23 10:21:02
阅读次数:
198
正则表达式search //匹配第一次遇到符合规则的匹配IP地址import rere.search(r'(([01]{0,1}\d{0,1}\d|2[0-4]\d|25[0-5])\.){3}([01]{0,1}\d{0,1}\d|2[0-4]\d|25[0-5])','192.168.1.1')... ...
分类:
编程语言 时间:
2017-05-21 23:18:29
阅读次数:
368
代码: using LitJson;using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Text;using System.Threading.Tasks; name ...
分类:
移动开发 时间:
2017-05-21 21:47:37
阅读次数:
890
sourcecode核心代码: 关键部分已经用红色标出,mywrite和myread是两个管理会话状态的关键函数,以下是一些参考资料: http://php.net/manual/zh/function.session-set-save-handler.php http://php.net/manu ...
分类:
其他好文 时间:
2017-05-20 14:57:22
阅读次数:
381