Hi All,
Can someone help me in converting data table rows to string using LINQ queries ?
Actual Dt name : dt_FilteredTableData (I have read this from excel)
Created similar DT : dt_Leadzeros (Like below)
I tried below query but didn’t work
dt_FilteredTableData = (from row in dt_FilteredTableData Let x=New Object(){row(“G/L Account”).ToString,row(“Company Code”).ToString,row(“Post automatically only”).ToString,row(“Only balances in local crcy”).ToString,row(“Relevant to cash flow”).ToString,row(“Blocked for posting”).ToString} select dt_Leadzeros.Rows.Add(x)).copytoDatatable
Thanks,
Naresh