Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int rb;
- DateTime d1, d2;
- if (cbxRegion.SelectedIndex > -1) rb = (int)cbxRegion.SelectedValue;
- else rb = 0;
- if (masktbxOd.MaskCompleted)
- d1 = DateTime.Parse(masktbxOd.Text);
- else d1 = DateTime.MinValue;
- if (masktbxOd.MaskCompleted)
- d2 = DateTime.Parse(masktbxOd.Text);
- else d2 = DateTime.MinValue;
- dataGridView1.DataSource = PoRegionima.StatistikaSela(rb, d1, d2);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement