专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅
drop table if exists category;create table if not exists category( c_Id bigint not null, c_name varchar(255) default \'\', c_type int default 1, primary key (c_ID));drop table if exists files;create table if not exists files( f_Id bigint not null, c_id bigint not null, f_name varc [阅读全文] [PDF]
在较旧版本的odbc驱动程序下,使用第(1)种连接字符串,没有出现该错误。升级odbc驱动程序后(升级了sql server 7.0的sp2),出现“无法指出的错误”(第一次访问不出错,刷新后出错),错误位置指向connection.open connstr一行,将连接字符串改为第(2)种,也就是把它的所有参数全部写出来,错误消失。(1) connstr=\"DBQ=\"+server.mappath(\"usecar.mdb\")+\";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)};\" (2) [阅读全文] [PDF]
原帖及讨论:http://bbs.bc-cn.net/dispbbs.asp?boardid=5&id=85644题目:编一程序,将两个字符串连接起来,不要用strcat函数。第1种方法:main(){char str1[10]=\"world!\";char str2[20]=\"hello \";strcpy(str2+strlen(str2),str1);printf(\"%s\",str2);}第2种方法:void copy_string(char from[],char to[]){int i=6;while(from[i]!=\'\\0 [阅读全文] [PDF]
1 共3条 分1页