Hello Everyone,
I have datatable with list items. If Fullname usertype is 'Admin' then want output like 'Fullname(Admin)'.
Eg: Rajesh(Admin)
- objTble_accessLog = dt.AsEnumerable().Select(m => new Tble_accessLog()
- {
- accessLogId = m.Field("accessLogId"),
- FullName = m.Field<string>("FullName"),
- AccessDate = m.Field<string>("AccessDate"),
- Action = m.Field<string>("Action")
- }).ToList();