Groups | Blog | Home
all groups > dotnet datatools > april 2007 >

dotnet datatools : Can not define New Datatable from Dataset


Andre
4/18/2007 12:22:33 PM
I created a dataset from add item and called it dsRSS. Using the
tableadapter wizard I connected to a access database, selected all items from
a table nad names my

TableAdapter: tatblRSSStories
Table: tblRSSStories

Now I want to create a New table from that one by using

Dim ntbl As DataTable = New tblRSSStoriesDataTable("tblStories")

I get
overload resolution failed because no acceptable “New” accepts this number
of arguments

Chris
5/16/2007 7:04:07 PM

[quoted text, click to view]

Did you try something like:
DataTable dtCopy = new DataTable();

dtCopy = tblRSSStoriesDataTable("tblStories").Copy()





AddThis Social Bookmark Button