943,558 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Marked Solved
  • Views: 1485
  • ASP.NET RSS
Mar 8th, 2009
0

ObjectDataSource can't see TableAdapter Queries

Expand Post »
I created a dataset in the Dataset Designer by draging a database table into it, then I added a new select SQL query to the DataTable.
Check the pics I think it helps explain it better.
http://i43.tinypic.com/2qs7707.jpg"

Now the problem comes when I try to use an ObjectDataSource, it sees the Dataset just fine, but can not see the Query(method) I created.

http://i41.tinypic.com/29bc7wp.jpg

I have tried rebuilding the website, restarting Visual studio nothing works. Any ideas?

I'm using Visual Studio Team System 2008 with SP1.
Reputation Points: 22
Solved Threads: 1
Light Poster
matale is offline Offline
38 posts
since May 2007
Mar 9th, 2009
0

Re: ObjectDataSource can't see TableAdapter Queries

So I solved the issue, apparently you cant use the "Select which returns a single value" option when creating the Query. Oops!
Reputation Points: 22
Solved Threads: 1
Light Poster
matale is offline Offline
38 posts
since May 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: connect .aspx with .exe files
Next Thread in ASP.NET Forum Timeline: How to extend Session timeout from the javascript





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC