WEB开发网
开发学院手机开发iPhone 开发 IPhone MySQL数据库操作代码例子 阅读

IPhone MySQL数据库操作代码例子

 2010-10-21 01:38:52 来源:WEB开发网   
核心提示:while (sqlite3_step(statement) ==SQLITE_ROW) {//char* cid = (char*)sqlite3_column_text(statement, 1);char* stime = (char*)sqlite3_column_text(statement,1);char*

while (sqlite3_step(statement) ==SQLITE_ROW) {

//char* cid = (char*)sqlite3_column_text(statement, 1);

char* stime = (char*)sqlite3_column_text(statement,1);

char* stitle =(char*)sqlite3_column_text(statement,2);

char* scal = (char*)sqlite3_column_text(statement,3);

char* sruntime= (char*)sqlite3_column_text(statement,4);

//NSString *tmp = [NSString stringWithCString:stitle encoding:1];

myreportitem* ri = [[myreportitemalloc]init];

ri.mytime= [NSString stringWithCString:stime encoding:1];

上一页  1 2 3 

Tags:IPhone MySQL 数据库

编辑录入:coldstar [复制链接] [打 印]
赞助商链接