If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

How to control the input data type when edit in a datagrid

Hi Dear all,

I want to build an application that allows user to edit data in the
datagrid directly.

I'm wondering can I control the input data type during run time or
not. For instance, a table that contains "ProductID", "Quantity" (data type:
Integer), "Date" (data type: Datatime), "Amount "(data type: Money). Is there
any way that can stop the user from inputting some data that don't match
with the data type?