<%@ Register TagPrefix="MyAssembly" Namespace="MyAssembly.Data" Assembly="MyAssembly, Version=1.0.0.1, Culture=neutral, PublicKeyToken=zj1251fcc32b5cg6" %>
Now set the ObjectDataSource's "TypeName" property to the specific class:
TypeName="MyAssembly.Data.MyDataClass"
Now right click on the object data source in design view and select 'Configure Data Source' and you'll see the methods on your class to choose from.
No comments:
Post a Comment