如何在数据网格视图中使用过滤字符串删除非数字数字?
我正在尝试使用过滤字符串从VB中的数据视图网格中删除所有非数字。我不确定使用过滤字符串是否可以使用,但是我的当前代码如下:
ftext &= String.Format("TRIM(mobile) LIKE '{0}{1}%'", If(optContains.Checked, "%", ""), awSQLFilterLike(fFilter.Text))
请不要像“ 0535723 CYAON”等数据库中的某些数据等。因此,我删除了非数字数字的可能性。
I am trying to remove all non numeric from data view grid in VB using filter string. I am not entirely sure if this can be possible using filter string but my current code is as follows:
ftext &= String.Format("TRIM(mobile) LIKE '{0}{1}%'", If(optContains.Checked, "%", ""), awSQLFilterLike(fFilter.Text))
Please not some of the data I have in the database is like "0535723 Cyaon" etc. So how possibility an I remove non numeric numbers.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论