Wednesday, 23 December 2015

Inner Join with Update in Datatable using Linq in C#

dtDummTable.AsEnumerable().Join(NewDisUpdate.AsEnumerable(), dtMst => dtMst["stone_no"], dtChid => dtChid["StoneNo"], (dtMst, dtChid) => new { dtMst, dtChid }).ToList().ForEach(o => { o.dtMst.SetField("orderdiscount", o.dtChid["Discount"]); });

No comments:

Post a Comment

Row based styling for Primeng DataTable using Angualr 2,4

------------------------------------Component.Html---------------- < p -dataTable id = "Tbl" [ rowStyleClass ]= " Fu...