I am pretty new to using LINQ and have been trying it out querying my strongly typed DataTable.
I have managed to perform a 'Select
' ok but was wondering if someone can point me in the right direction to do Insert
and Updates
. I'm not sure if LINQ is best doing an insert at all?
My Select code is as follows:
Dim results = From myRow In _dt.AsEnumerable() _
Where myRow.Language_key = Lang And _
myRow.Section_key = SectionKey And _
myRow.Message_number = MsgNum _
Select myRow.Message_line_1