Data Sets w/out SQL

dpatfield66

Well-known member
Joined
Apr 6, 2006
Messages
136
Programming Experience
5-10
This should be a no-brainer, because my brain's gone...

I want to create a dataset that's not based on any SQL tables.
How do I do that.

Ex:

Just want to create a table that will have fields that a report (.rdlc) will be populated from.
 
Create a new instance of a dataset.... then create a new instance of a DataTable.... create DataColumns (I think that's what they are called)... and add them to the Column collection of the DataTable.... then once done, add the datatable to the Dataset....

-tg
 
Right click your project name in the solution explorer and choose new...
...New Item...
...DataSet

Right click the design surface and add your datatables that way... No table adapters will be created
 
Back
Top