如何检查更多文本框的空值 [英] how to check null value for more text boxes

查看:83
本文介绍了如何检查更多文本框的空值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨所有

i我在使用vb6.0

有没有办法检查更多的文本框值是否为null

因为在我的表格iam有50个文本框都不应该为空


if(text1.text)<> ""和text2.text<> "" ..............然后


结束如果


还有比这更好的方法吗? />
感谢所有

hi to all
i am using vb6.0
is there any way to check more textboxes value is null or not
because in my form iam having 50 text boxes all should not be null

if (text1.text) <> "" and text2.text <> "" ..............then

end if

is there any better way than this
thanks to all

推荐答案

你好,所有


i来自软件程序

pl给我vb6.0 tovb.net转换程序

怎么做

请回复我
hello to all

i am new from software programme
p.l given me vb6.0 tovb.net convert the programme
how to do it
please reply to me



pl给我vb6.0 tovb.net转换程序
p.l given me vb6.0 tovb.net convert the programme



浏览并打开VB.net中的VB6项目,它会直接提示你转换向导..


REgards

Veena

Browse and Open VB6 Project in VB.net, it will be directly prompt you to the Conversion Wizard..

REgards
Veena



if(text1.text)<> ""和text2.text<> "" ..............然后


结束如果
if (text1.text) <> "" and text2.text <> "" ..............then

end if



TextBoxes在Control数组中,



他们被命名为Text1,Text2 .... Text50 ..?


问候

Veena

TextBoxes are in Control array,
OR
they are named Text1, Text2.... Text50 ..?

Regards
Veena


这篇关于如何检查更多文本框的空值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆