如果没有值,我需要在vsflexgrid上放置验证 [英] i need to put validations on vsflexgrid if there having no values in it

查看:41
本文介绍了如果没有值,我需要在vsflexgrid上放置验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果没有值,我需要对vsflexgrid进行验证

i need to put validations on vsflexgrid if there having no values in it

推荐答案

根据您的问题,我猜以下代码片段将帮助您



检查网格文本矩阵...



如果它是空白则没有数据......



例如:



As per your question i guess the following code snippet will help you

Check the grid textmatrix...

if it is blank then no data...

example:

For i = 1 To vsflexgrid.Rows - 1
    if (vsflexgrid.TextMatrix(i, 0) = "") then
        msgbox("No Data")
    else
        msgbox("Data Present")
    endif
Next i





希望这能解决您的疑问......



Hope this will solve your query...


这篇关于如果没有值,我需要在vsflexgrid上放置验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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