root/Baza Reklam 2 - Faktury/SLOWNIKDataSet.cs @ 23

Wersja 23, 0.6 KB (wprowadzona przez dorota, 17 years temu)
Line 
1using System;
2using System.Data;
3
4namespace Baza_Reklam {
5
6
7    partial class SLOWNIKDataSet
8    {
9        partial class NRDataTable
10        {
11            public DateTime dataWydania(string tytul, short nr)
12            {
13                DataRow[] rows = this.Select("tyt='" + tytul + "' and nrw=" + nr);
14                if (rows.Length > 0)
15                {
16                    return (DateTime)rows[0]["DATA_W"];
17                }
18                return DateTime.Today;
19            }
20        }
21
22        partial class Kursy_WalutDataTable
23        {
24           
25        }
26    }
27}
Notatka: Zobacz TracBrowser aby uzyskać więcej informacji.