Hi,
I am a very frequent user of the getdataBy method of an adapter.
However I came across this other thing today.
I have a dataset File which contains multiple datatables.
Just to make life a bit simpler i created an instance of the dataset file (not of the tabless..which should mean that it instantiates the tables too)
Now when i was assigning the dataTable within that dataset using the getDataBy method, I was given a compile time exception: Property or indexer 'XX.XXX.DSall.all1' cannot be assigned to -- it is read only
However if i feed it using the fill method, the compiler is happy about that.
So if it was only a read only item, them how come does the fill by get away.
The fillBy method reduces the readability (for me, just not conventional for me)
Is there any explanation for this behaviour?
cheers....and thanks
Platform: .Net 2.0, C#, Winforms