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
精彩评论