c# - Is there a way to allow a list of specific values for a cell in a DataTable only? -


i wonder if there way allow list of speccific values cell in datatable , block rest? couldn't find online.

thank you.

one way listen datatable's rowchanging event. there can check whether limited datacolumn modified 1 , if needed reject change. see http://msdn.microsoft.com/en-us/library/system.data.datatable.rowchanging


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -