thousand comma separator in gridview when typing in winforms

旧时模样 提交于 2019-12-12 01:26:04

问题


I hope someone can help me, I need something like this : for example I type 12345 in fee column in gridview it becomes 12,345 not after the user left the column, but when she is typing,

you should suppose this is my grid

ItemNameColumn  QuantityColumn  FeeColumn

I wrote my solution here here

it workd perfectly provided that the user firstly click on the fee column, In case I fill the quantity column which is before the Fee column it does not work anymore,

Now I am not strict on the approach I used before, any method that help me to solve this problem is welcome to me,

please kindly have a glance and let me know if there is any misconception,

来源:https://stackoverflow.com/questions/41146236/thousand-comma-separator-in-gridview-when-typing-in-winforms

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!