Thank you very much.
I read the Dynamic list, but when I try to do like this code :
' VB.NET
Dim fields As New ResultsetFields(3)
fields.DefineField(EmployeeFieldIndex.FirstName, 0, "FirstNameManager", "Manager")
fields.DefineField(EmployeeFieldIndex.LastName, 1, "LastNameManager", "Manager")
fields.DefineField(EmployeeFieldIndex.LastName, 2, "AmountEmployees", "Employee", AggregateFunction.Count)
Dim relations As IRelationCollection = New RelationCollection()
relations.Add(EmployeeEntity.Relations.EmployeeEntityUsingEmployeeId, "Employee", "Manager", JoinHint.None)
Dim groupByClause As IGroupByCollection = New GroupByCollection()
groupByClause.Add(fields(0))
groupByClause.Add(fields(1))
Dim dynamicList As New DataTable()
Dim dao As New TypedListDAO()
dao.GetMultiAsDataTable(fields, dynamicList, 0, Nothing, Nothing, relations, True, groupByClause, Nothing, 0, 0)
I can't define the "ResultsetFields" there is no such a thing
And I also import :
Imports Commerce ' The generated project
Imports SD.LLBLGen.Pro.ORMSupportClasses
I think the code that I should use to bind the column to the drop menu should look like:
.
.
I didn't know what to do ...
since I didn't try the code. But what I want is just to take the data from the Column that is called "brandName" from the table "Brands" and put them in a Drop down menu called "drpbrand".
Thank you very much, and I hope that your tool will help me in my project. The problem that I have to do the project faster than what I'm doing and I have to learn about ur Tool, so if needed help you can help always?
?
Thanks.