- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
if (rbNewPackage.Checked)
{
var ls = from ent in Program.DB.UserInfos
where
(from rp in Program.DB.ReceivedPackages
join r in Program.DB.RecordBooks on rp.id equals r.id_package
where rp.id_user == ent.id &&
r.date == (from recb in Program.DB.RecordBooks
join recp in Program.DB.ReceivedPackages on recb.id_package equals recp.id
where recp.id_user == ent.id
select recb.date).Max() && r.id_status == 1
select rp).Count() != 0
select ent;
grdEntrantList.DataSource = Program.DB.UserInfos.Where(t => ls.ToList().Contains(t));
}
else if (rbCancelled.Checked)
{
var ls = from ent in Program.DB.UserInfos
where
(from rp in Program.DB.ReceivedPackages
join r in Program.DB.RecordBooks on rp.id equals r.id_package
where rp.id_user == ent.id &&
r.date == (from recb in Program.DB.RecordBooks
join recp in Program.DB.ReceivedPackages on recb.id_package equals recp.id
where recp.id_user == ent.id
select recb.date).Max() && r.id_status == 5
select rp).Count() != 0
select ent;
grdEntrantList.DataSource = Program.DB.UserInfos.Where(t => ls.ToList().Contains(t));
}
else if (rbConditional.Checked)
{
var ls = from ent in Program.DB.UserInfos
where
(from rp in Program.DB.ReceivedPackages
join r in Program.DB.RecordBooks on rp.id equals r.id_package
where rp.id_user == ent.id &&
r.date == (from recb in Program.DB.RecordBooks
join recp in Program.DB.ReceivedPackages on recb.id_package equals recp.id
where recp.id == rp.id
select recb.date).Max() && r.id_status == 3
select rp).Count() != 0
select ent;
grdEntrantList.DataSource = Program.DB.UserInfos.Where(t => ls.ToList().Contains(t));
}
else if (rbOfficial.Checked)
{
var ls = from ent in Program.DB.UserInfos
where
(from rp in Program.DB.ReceivedPackages
join r in Program.DB.RecordBooks on rp.id equals r.id_package
where rp.id_user == ent.id &&
r.date == (from recb in Program.DB.RecordBooks
join recp in Program.DB.ReceivedPackages on recb.id_package equals recp.id
where recp.id == rp.id
select recb.date).Max() && r.id_status == 4
select rp).Count() != 0
select ent;
grdEntrantList.DataSource = Program.DB.UserInfos.Where(t => ls.ToList().Contains(t));
}
wvxvw 02.03.2011 21:50 # 0
slavenin 02.03.2011 22:30 # −1
Lure Of Chaos 03.03.2011 00:00 # 0
slavenin 06.03.2011 19:14 # −3
Lure Of Chaos 06.03.2011 19:36 # 0
slavenin 06.03.2011 20:27 # −2
bugmenot 06.03.2011 22:01 # +3
может обидно, что та обезьянка на повышение пошла, а эта застряла?
Lure Of Chaos 06.03.2011 22:28 # +2
bugmenot 06.03.2011 22:36 # −1
Lure Of Chaos 06.03.2011 22:40 # 0
absolut 07.03.2011 00:39 # −1
Lure Of Chaos 07.03.2011 01:01 # +3
absolut 07.03.2011 21:55 # +5
- Сколько стоит с обезьянкой?
- Сфотографироваться?
bugmenot 08.03.2011 01:52 # −1