开发者

IP address and Datagridview control

I am using a datagridview to get the IP address from user. Is there any way so that I can restrict the user 开发者_如何学编程to enter only valid ip address in the datagrid view cell?

Its a desktop application.


Yes you can implement a validator that enforces the requirements you want. Are you asking how to write such a validator?


you can do .

in gridcellvaliating event use some ip address regular expression validation

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜