DataSet on the fly

  • Thread starter Thread starter JPS
  • Start date Start date
J

JPS

Does anyone know how to create a dataset on the fly with specific names
fields?
 
Hi,

You mean like

DataRow row = ds.Tables[0].NewRow();
row["ZipCodes"] = "12345";



--
Ignacio Machin
machin AT laceupsolutions com


| 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
| >
| >
| >
| > JPS wrote:
| > > Does anyone know how to create a dataset on the fly with specific
names
| > > fields?- Hide quoted text -- Show quoted text -
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top