2.5.3 DataTransfer对象
dataTransfer.dropEffect:设置或返回拖放目标上允许发生的拖放行为。如果此处设置的拖放行为
不在effectAllowed属性设置的多种拖放行为内,拖放操作将会失败。该属性值只允许为:"none"、 "co...
分类:
其他好文 时间:
2014-06-05 17:40:09
阅读次数:
183
CPU的标识ILP32:Windows X86 int long point 32位=
4个字节LP64: X86_64 long point 64位 = 8个字节char和string的存储区别1. char 是标准C语言类型,
优点:基础类型,结构单一,速度快,拷贝快,因为不是基于new和del...
分类:
编程语言 时间:
2014-06-05 17:32:54
阅读次数:
251
public static DataTable GetData() { string Connect
= ConfigurationManager.AppSettings["ConnectionString"].ToString(); Sql...
分类:
数据库 时间:
2014-06-05 17:20:30
阅读次数:
252
import datetimedatetime有几个常用类:date time datetime
timedelta1. 今天日期时间(今天时间)>>> import datetime>>> now =
datetime.datetime.now()>>> print now2014-06...
分类:
编程语言 时间:
2014-06-05 16:47:38
阅读次数:
299
一、Move操作varpSource,pDest:PChar;len:integer;.......................//一些代码Move(pSource,pDest,len);//错误Move(pSource^,pDest^,len);//正确,根据Move函数:
S:=PCha.....
分类:
其他好文 时间:
2014-06-05 16:40:17
阅读次数:
143
string connStr = "Data Source=.;Initial
Catalog=MySchoolMoreData;Integrated Security=True"; try { usi...
分类:
Web程序 时间:
2014-06-05 15:26:20
阅读次数:
260
6–1.字符串.string
模块中是否有一种字符串方法或者函数可以帮我鉴定一下一个字符串是否是另一个大字符串的一部分?答:有,string.find(str,beg,end)6–2.字符串标识符.修改例
6-1 的 idcheck.py 脚本,使之可以检测长度为一的标识符,并且可以识别 Pytho...
分类:
编程语言 时间:
2014-06-05 15:25:41
阅读次数:
338
最近在微博中发现MOOC上有了Python的教程,出于兴趣就打算简单的听一听了解一下,今天听了第一期的讲座,老师讲的非常形象,大家有兴趣可以去看一看https://class.coursera.org/pythonlearn-002/lecture课程是全英文的,但是有英文字幕,在学习的同时可以学习...
分类:
其他好文 时间:
2014-06-05 14:35:33
阅读次数:
266
from xml.etree import ElementTreeclass
CommentedTreeBuilder ( ElementTree.XMLTreeBuilder ): def __init__ ( self, html =
0, target = None ): ...
分类:
编程语言 时间:
2014-06-05 13:16:31
阅读次数:
261
要程序你自己去组装去,我只写两个部分,一个是读Excel的部分,然后是写入到xml的1)
从指定的excel读出信息string strConn="provider=Microsoft.Jet.OLEDB.4.0;data
source=你的Excel文件.xls;Extended Properti...
分类:
其他好文 时间:
2014-06-05 13:15:48
阅读次数:
258