Datagrid DefaultValue

  • Thread starter Thread starter Jeff Haumesser
  • Start date Start date
J

Jeff Haumesser

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Datagrid Question 2
datagrid 1
Prevent edits in one datagrid column 2
Newbie needs help with datagrid 2
Datagrid update 3
Problem in datagrid 1
Datagrid Insert new 1
Changing event in DataGrid 1

Back
Top