GetDataTable question


Author
Message
Andria Jensen
Andria Jensen
Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)
Group: Forum Members
Posts: 336, Visits: 497
I want to do something like DataLayer.DataSources("").GetDataTable("SELECT * FROM Table") instead of going through a BO.  I just want a direct query on the database instead.  When I try to do this, the GetDataTable requires another parameter...a callback to be passed to it.  What is this parameter and what do I need to use here?
Reply
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
The callback that is passed is the callback that should be executed for Query Notification Services if the data changes on the server... when the business object is using the SqlDataSourceItem class, you can register query notifications with the server, and the callback is the method that should be called when a notification is received back from the server. 

It's only valid for SQL Server 2005 when Query Notification Services is turned on.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search