Is there a way to set the format for a datagrid as a whole in code? I know how to set it in design time but I want to set it in run time. Is there a way? If there is, would you mind providing the code or point me to a section that talks about it.

Many thanks for any suggestion.

ljCharlie