By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,887 Members | 1,249 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,887 IT Pros & Developers. It's quick & easy.

Datagrid DefaultValue

P: n/a
Hi everybody:

I have a Datagrid bound to a stongly typed Collection. This datagrid has
two columns and contains 5 rows; one for each object in my collection.
Column two has a handler for the KeyPress event that ensures that the user
enters only numeric values.

The problem I have is that I can't allow the user to have an Empty String in
the cell. It must default to zero if the value is deleted.

Any Ideas anyone?

Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a

Should be this one:

I hope this helps?

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.