Hi,
Does anyone know how to serialize a DataTable to CodeDOM?
my use case is like below:
object.DataSource = new DataTable()....;
But this line seems not to be serialized in file designer.cs
so that when I compile the form, values of datasource disappear.
How to fix this?
Thanks