con.execute "CREATE tblImg (lngId COUNTER PRIMARY
KEY, binImg IMAGE)"set
ads=createobject("adodb.stream")ads.type=1ads.mode=3ads.openads.loadFromFile ...
分类:
数据库 时间:
2014-05-08 19:26:02
阅读次数:
376
HttpWebRequest myReq =
(HttpWebRequest)WebRequest.Create(path+filename); //创建一个请求(获得需要的文件信息)
HttpWebResponse myRes = (HttpWebResponse)myReq.GetRe...
分类:
Web程序 时间:
2014-05-07 17:00:11
阅读次数:
270
以微博分享为例:
1.public void onClickShare(View view) {
2.
3. Intent intent=new Intent(Intent.ACTION_SEND);
4. intent.setType("image/*");
5. intent.putExtra(Inten...
分类:
移动开发 时间:
2014-05-07 15:59:21
阅读次数:
396
auto listener = EventListenerTouchOneByOne::create();
listener->setSwallowTouches(true);
auto sprite = this->getChildByTag(virTag)->getChildByTag(jumpTag);
listener->onTouchBegan = CC_CALLBACK_2...
分类:
其他好文 时间:
2014-05-07 15:41:12
阅读次数:
279
这里演示如何在MVC
WEB应用程序如何上传图片到数据库以及如何在WEB页面上显示图片。数据库表对应整个Model类,不单图片数据一个字段,我们从数据表的定义开始:CREATE
TABLE [dbo].[Products] ( [ProductID] INT I...
分类:
数据库 时间:
2014-05-07 14:33:57
阅读次数:
468
Web
image(网络图像)该库提供了一个支持来自Web的远程图像的UIImageView类别它提供了:添加网络图像和缓存管理到Cocoa Touch
framework的UIImageView类别异步图像下载An asynchronous memory + disk image caching ...
分类:
移动开发 时间:
2014-05-07 13:45:00
阅读次数:
627
Problem B: Fire!Joe works in a maze. Unfortunately,
portions of the maze have caught on fire, and the owner of the maze neglected to
create a fire esc...
分类:
其他好文 时间:
2014-05-07 13:28:07
阅读次数:
312
用Tiled新建 好地图后放到cocos2d上使用,
// 加载Tiled地图
CCTMXTiledMap *map = CCTMXTiledMap::create("birdMap.tmx");
this->addChild(map);
然后报如下错误
Assert failed: TMX: Only 1 tiles...
分类:
其他好文 时间:
2014-05-07 12:31:48
阅读次数:
294
createdatabaseSCon(name=‘SC‘,filename=‘d:\SC.mdf‘)logon(name=‘SC_log‘,filename=‘d:\SC_log.dlf‘)gouseSCgocreatetable商品供应记录(商家姓名nvarchar(20)notnull,商品名称nvarchar(20),商品价格decimal(7,2))insertinto商品供应记录values(‘长虹公司‘,‘彩电‘,4500.00)inse..
分类:
数据库 时间:
2014-05-07 11:34:58
阅读次数:
401
6.7备注
有时有个像Pasca中“记录”和C中“数据体”的数据类型非常有用。集合一些数据项。一个空类定义可以清楚地显示:
class Employee:
pass
john = Employee() # Create an empty employee record
# Fill the fields of the record
john.name = ’John Doe’
joh...
分类:
编程语言 时间:
2014-05-07 11:25:11
阅读次数:
311