Let\'s consider I have two comma separated strings as written below.
string name = \"A,B,C,D\"; string value = \"100,200,300,400\";
So I wa
split sourse strings and add to datatable
DataTable table = new DataTable(); table.Columns.Add("name", typeof(string)); table.Columns.Add("value", typeof(string)); table.Rows.Add("nameStr", "valueStr");