NewsFeed   -
KỸ THUẬT LẬP TRÌNH
S  M  L
Join Datatable using Linq - Script
var query = from a in tblEMAIL.AsEnumerable()
                    join b in tblUSER.AsEnumerable() on a.Field("MainKey") equals b.Field("MainKey")
                    join c in tblUSERTYPE.AsEnumerable() on a.Field("MainKey") equals c.Field("MainKey")
                    //join d in tblSCHOOL.AsEnumerable() on a.Field("MainKey") equals d.Field("MainKey")
                    select  new
                        {
                            EmailKey = a.Field("MainKey"),
                            EmailValue = a.Field("ProperValue"),
                            UserKey = b.Field("ProperKey"),
                            UserName = b.Field("ProperValue"),
                            UserTypeKey = c.Field("ProperKey"),
                            UserTypeName = c.Field("ProperValue"),
                            //SchoolKey = d.Field("ProperKey"),
                            //SchoolName = d.Field("ProperValue")
                        };
        if (query.Count() != 0)
        {
       
        }
- 04/14/2011
Search:
NGHỆ THUẬT - PHIM - ẢNH

HÌNH ẢNH ĐẸP

Photo

Album: Royal Wedding
< July 2011 >
Sun Mon Tue Wed Thu Fri Sat
26 27 28 29 30 1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31 1 2 3 4 5 6
More... (All Collections)
H2O NEWS

Everything Meaning To You!

Email: [email protected]

Website: emty.org

Liên hệ

Đặt làm trang chủ

@