By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,870 Members | 2,347 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,870 IT Pros & Developers. It's quick & easy.

Why locating DataSetTable Adapter into App_Code classes causes ObjectDataSources fail

P: 40
I added this method to DataAccess.cs Class to have the ability to delete rows from my DataTable by using ObjectDataSource & DataGrid:

public void DeleteItems()
DataSet1TableAdapters.ProTableTableAdapter ProductsAdapter = new DataSet1TableAdapters.ProTableTableAdapter();
DataSet1.ProTableRow product = new DataSet1.ProTableRow();


but the result was weired when configuring data source, All the business objects have disappeared

And how could I add DeleteQuery filters by ProductID to be related to DataGrid's Delete column..??
I followed the same instructions on this page but it was in vein
Apr 19 '07 #1
Share this Question
Share on Google+
1 Reply

P: 40
does the arranging of creating objects & classes affect linking or interacting between them..?
Apr 21 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.