示例#1
0
			public static int Add(DiemThi lt,SQLiteConnection connection )
			{
				DataProvider dtb = new DataProvider (connection);
			if (dtb.GetDT (lt.NamHoc,lt.Hocky).Count==0) {
					return dtb.AddDT (lt);
				}
				return 0;
			}
示例#2
0
		public static DiemThi GetDT (SQLiteConnection connection, string hocky, string namhoc)
		{
			DataProvider dtb = new DataProvider (connection);
			return dtb.GetDT (hocky,namhoc);
		}