Sunday 3 July 2016

Data Columns to combined string Without Loop in C#


string prd_str = string.Join(", ", DataTableDt.Rows.OfType<DataRow>().Select(r => r[3].ToString()));

No comments:

Post a Comment