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
Post a Comment