找回密码
 注册
LabVIEW+单片机学习套件全套教程资料下载[免费]LabVIEW论坛精华列表贴USB0816数据采集卡《LabVIEW宝典》
LabWindows/CVI论坛精华贴NET0816以太网数据采集卡RC0210远程设备授权系统 关闭关停锁定打开设备 户外分布式数据采集
NET1624低速高精度以太网数据采集卡WIFI0824SD无线WIFI网络数据采集卡脱机运行 SD存储 小尺寸微型 串口采集远程采集 安卓 手持移动采集 纪录仪
查看: 1781|回复: 3

[建议]用数据库做的密码登陆的labview例子 错误及修正

[复制链接]
发表于 2005-6-14 20:15:41 | 显示全部楼层 |阅读模式
<>1、程序最后没有关闭数据库</P>
<>2、数据库中应为password字段,而非password1。</P>
<>3、password with database(combo user name but not ok).vi</P>
<P>中查看已存在用户存在功能错误。一是索引名字时要按列索引,而非按行;二是comobo控件的items不能自动随数据库中用户多少而变化,应使用其StringAndValues[]属性代替strings[]属性设置Items,同时其属性的输入也要做相应的调整。改写后的代码如下:</P>
<P> <img src="attachments/dvbbs/2005-6/200561412145372.gif" 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-6/200561412145372.gif\');}" onmousewheel="return imgzoom(this);" alt="" /></P>
<P>不知我提的这几点是否正确,请大家讨论。</P>
<P>[em01]</P>

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2005-6-14 21:23:49 | 显示全部楼层
运行能出来正确的答案就好了,可能是我以前做这个的时候有疏忽,抱歉!
回复 顶

使用道具 举报

发表于 2005-6-14 21:24:34 | 显示全部楼层
回复 顶

使用道具 举报

发表于 2009-9-19 10:53:12 | 显示全部楼层
收下看看 谢谢
回复 顶

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|cpubbs论坛. ( 粤ICP备09171248号 )

GMT+8, 2026-9-29 10:23 , Processed in 0.038429 second(s), 12 queries , Gzip On, File On.

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表