ObjectDataSource can't see TableAdapter Queries

Thread Solved

Join Date: May 2007
Posts: 38
Reputation: matale is an unknown quantity at this point 
Solved Threads: 1
matale matale is offline Offline
Light Poster

ObjectDataSource can't see TableAdapter Queries

 
0
  #1
Mar 8th, 2009
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.
My current Project www.footystat.com
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 38
Reputation: matale is an unknown quantity at this point 
Solved Threads: 1
matale matale is offline Offline
Light Poster

Re: ObjectDataSource can't see TableAdapter Queries

 
0
  #2
Mar 9th, 2009
So I solved the issue, apparently you cant use the "Select which returns a single value" option when creating the Query. Oops!
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Other Threads in the ASP.NET Forum


Views: 756 | Replies: 1
Thread Tools Search this Thread



Tag cloud for ASP.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC