DB的问题,很重要的~请高手解决
<P><img src="attachments/dvbbs/2005-4/200544162727643.bmp" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!this.resized) {return true;} else {window.open(\'attachments/dvbbs/2005-4/200544162727643.bmp\');}" onmousewheel="return imgzoom(this);" alt="" /></P><P>大家看看,这个数据库连接为何会出错,我感觉是id:自动编号的原因,用dbinsert控件也是报错,去掉id字段就ok了~~但是没有id字段,我又怎么删除记录和索引排序呢?
</P> 我的意思是我使用了id自动编号,在插入是应该怎么写呢? 老兄,你上传图片时转换成GIF或JPG吧,BMP太大了,打开太慢了!我做了一个电话本的例子,你看一下吧,里边有删除记录的! <P>嘎,终于显示出来了,LV的数据库工具可是有插入控件的,你不用自己再做一个了,这样比较麻烦的!可以直接用它的!</P>
页:
[1]