for (int i = 0; i < Amount.Count; i++) { DataColumn dc = new DataColumn("Amount"); local_ds.Tables[0].Columns.Add(dc); local_ds.Tables[0].Rows.Add(Amount[i]); }
DataColumn dc = new DataColumn("Amount"); local_ds.Tables[0].Columns.Add(dc); for (int i = 0; i < Amount.Count; i++) { local_ds.Tables[0].Rows[i]["Amount"] = Amount[i]; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)