如果字符串或HTML字段为空,如何检查查询? [英] How check through query if a string or HTML field is empty?

查看:196
本文介绍了如果字符串或HTML字段为空,如何检查查询?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果字符串/ html类型的字段为空,我想知道是否可以检查查询?

I'd like to kwow if is possible to check through query if a field of string/html type is empty?

我看到有这些类型字段的可用运算符并且只有"包含"和"不包含"。

I saw available operators with these type of fields and there is only "Contains" and "Does not Contain".

我在内部使用TFS 2017更新2.

I'm using TFS 2017 update 2 on premises.

推荐答案

您好Francesco Sclano,

Hi Francesco Sclano,

此功能尚未完成。我找到了用户的声音,你可以在这里添加评论并投票:

This feature have not been completed. I find a user voice of it, you could add comment and vote it here:

https://visualstudio.uservoice.com/forums/330519-team-services/suggestions/3080939-introduce-is- empty-operator-in-tfs-wiql-for-rich

作为解决方法,您可以在C#中尝试使用以下链接的代码段:

As a work around, you could try the code snippet in C#, following this link :

  https:// stackoverflow。 com / questions / 43118962 / tfs-query-on-html-field-for-empty-value

最好的问候


这篇关于如果字符串或HTML字段为空,如何检查查询?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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