OK, I'll look at HnD and see what I can figure out from that. I'm glad that we have an example for ASP.NET.
Walaa:
If you go into the properties window of the datasource control and go into the Select parameters collection. The advanced properties of the Parameter Collection Editor have an option for the parameter direction.
Frans:
BTW, I've learned that adding a pages element in web.config can be a nice timesaver. You can automatically add namespaces so you don't have to add the using/imports lines to each .cs/.vb file. You can also add the llblgenproDataSource control so that you don't need the @ Register Assembly... on each of the aspx/ascx pages.
See example below.
Joel Reinford
Data Management Solutions LLC
<pages>
<!-- Namespaces are case-sensitive-->
<namespaces>
<add namespace="SD.LLBLGen.Pro.ORMSupportClasses"/>
<add namespace="SD.LLBLGen.Pro.DQE.SqlServer"/>
<add namespace="DMS.MyProject.DAL"/>
<add namespace="DMS.MyProject.DAL.DbSpecific"/>
<add namespace="DMS.MyProject.DAL.EntityClasses"/>
<add namespace="DMS.MyProject.DAL.FactoryClasses"/>
<add namespace="DMS.MyProject.DAL.HelperClasses"/>
<add namespace="DMS.MyProject.DAL.RelationClasses"/>
<add namespace="DMS.MyProject.DAL.TypedViewClasses"/>
<add namespace="DMS.MyProject.DAL.TypedListClasses"/>
</namespaces>
<controls>
<add tagPrefix="cc1" namespace="SD.LLBLGen.Pro.ORMSupportClasses" assembly="SD.LLBLGen.Pro.ORMSupportClasses.NET20"/>
</controls>
</pages>