J
JPS
Does anyone know how to create a dataset on the fly with specific names
fields?
fields?
DataSet ds = new DataSet("dsName");
ds.Tables.Add("dtTable");
ds.Tables["dtTable"].Columns.Add("ZipCodes");
http://www.codershangout.com
Does anyone know how to create a dataset on the fly with specific names
fields?- Hide quoted text -- Show quoted text -
Thanks. Do you know how to add values to this as well?
DataSet ds = new DataSet("dsName");
ds.Tables.Add("dtTable");
ds.Tables["dtTable"].Columns.Add("ZipCodes");
http://www.codershangout.com
Does anyone know how to create a dataset on the fly with specific names
fields?- Hide quoted text -- Show quoted text -