Articles

0

Like

C# DataTable throwing ReadOnlyException - "Column X is read only."

(http://idreesdotnet.blogspot.com/2016/09/c-datatable-throwing-readonlyexception.html)
Its because the default value for ReadOnly property of DataColumn in Typed DataSets is True. You can set it False in the properties window, but this will take impact in all code segments wherever this DataTable is being used.
Posted by: Muhammad Idrees
On 17 Oct 2016 | Views: 270 | Categories: Visual Studio, Tips & Tricks, C#, Microsoft.net
Comments(0)

Post your comments

 

Other lins

.Net Techies
Other lins