How can I restrict the keystrokes that will be accepted in a column of my datagrid
You can create a custom column style and handle the KeyPress event of its TextBox member. Below is the code showing how this might be done. You can also download a sample project (C#
) that shows an implementation of this idea.