c# - How to change data programmatically before validating occur? -
after user inputted data cell in datagridview (user press enter key), how change data programmatically before validating occur?
please me!
maybe try use cellvalidating event.
event documentation
http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.cellvalidating.aspxwalk-through of how use event (as part of other validation stuff)
http://msdn.microsoft.com/en-us/library/ykdxa0bc.aspx
disclaimer:
i'm assuming doing windows forms no asp.net tag in there.
Comments
Post a Comment