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?
Thanks,

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


P: n/a
Jeff,

Should be this one:
http://msdn.microsoft.com/library/de...ltexttopic.asp

I hope this helps?

Cor
Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.