格式化十进制文本框,如百分比/LightSwitch HTML [英] Format decimal text box like percentage / LightSwitch HTML

查看:89
本文介绍了格式化十进制文本框,如百分比/LightSwitch HTML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨.我已经将SQL DB与LS链接了.一些数据像0,9123.我想像91.23%那样显示和编辑它,但更新仍然像/100.有可能吗?

Hey guys. Ive got SQL DB linked with LS. And some data goes like 0,9123 . I d like to show and edit it like 91,23 % but update still like /100 . Is it possible?

谢谢

推荐答案

如果在实体设计器中将属性的数据类型更改为百分比"类型,则可以使用百分比"编辑器和百分比查看器控件,使其可以在屏幕上正确格式化和编辑.
If you change the data type of the property to be a Percent type in the entity designer, then you can use the Percent Editor and Percent Viewer controls to allow it to be formatted and edited properly in your screens.


这篇关于格式化十进制文本框,如百分比/LightSwitch HTML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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