Hello All,
i am using LLBLgen 2.6 & self servicing with MS SQL 2005
i have one table called: Coach
please see this image
www.freeimagehosting.net/uploads/3a788a2206.png
I have second table called: User
www.freeimagehosting.net/uploads/f816739982.png
now i have one drop down list and binding with following code
UserCollection claUser = new UserCollection();
IPredicate PreuserRole = (UserFields.RoleTypeId == 3 & UserFields.IsActive ==1);
claUser.GetMulti(PreuserRole);
ddCoach.DataSource = claUser ;
ddCoach.DataTextField = "Username";
ddCoach.DataValueField = "UserID";
ddCoach.DataBind();
now here i want to bind firstname & lastname in DataTextField & in DataValueField i want UserID
how can i do in LLBL?
Attachments
Filename |
File size |
Added on |
Approval |
Coach.png
|
3,753 |
11-Aug-2009 06:22.58 |
Approved |