I
I
iluxa18102016-03-06 04:46:22
Programming
iluxa1810, 2016-03-06 04:46:22

Is it possible to make constraints in DataGridView?

I am creating a DataSet from XML and binding it to a dataGridView.
There are some questions:
1) Is it possible to set a default value in the dataGridView?
2) Is it possible to auto-increment one of the columns?
Or should I catch events and handle logic?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kovalsky, 2016-03-06
@dmitryKovalskiy

1) Yes, 2) Yes. Customize ItemTemplate and EmptyTemplate and output whatever you want. Or dynamically add a field with the increment you need to the DataSet XML.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question