I have a LinqDataSource
like this one :
<asp:LinqDataSource ID="linqDSUsers" runat="server"
ContextTypeName="Repository.BBDatabaseDataContext"
Select="new (UserID,FirstName,LastName)" TableName="Users">
</asp:LinqDataSource>
How can I convert it into this :
<asp:LinqDataSource ID="linqDSUsers" runat="server"
ContextTypeName="Repository.BBDatabaseDataContext"
Select="new (UserID,FullName = FirstName + LastName)" TableName="Users">
</asp:LinqDataSource>
Thank you very much in advance.
Select="new (UserID, FirstName + LastName As FullName)"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.