Hello !
I'm new to LINQ area and I discovered the compact mode of this instructions vs usual code.
I found sample code for selecting, etc. from a datatable, transforming a column in a list or array - all operations are "Select"s - readonly.
I need to make an simple update on a certain rows (using LINQ) from a DISCONNECTED datatable for which now I'm using this code:
Its possible to do this with one line of code (using LINQ) ?Code:for each dr as datarow in dtable.Rows dr("MyField") = 77 next
Thank you !




Reply With Quote