StrataFrame Forum

DataSourceKey is not defined.

http://forum.strataframe.net/Topic4623.aspx

By Vikram Saxena - 11/17/2006

Hi, I have mapped a simple table with a BO but when i try to access the data i get the following error.

The DataSourceKey [] is not defined.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: MicroFour.StrataFrame.Data.DataLayerException: The DataSourceKey [] is not defined.

Source Error:

Line 80:                 strWhere = " and CatalogId = '" + SearchString + "%'"Line 81:         End SelectLine 82:         Me.FillDataTable(strSQL) ' + strWhere)Line 83:         Return Me.GetDataTable(strSQL) ' + strWhere)Line 84:     End Function
By Vikram Saxena - 11/17/2006

sorry, my stupid mistake. i found the issue and its fine now. Thanks anyways.
By Trent L. Taylor - 11/17/2006

Glad you got it going Smile