コード例 #1
0
ファイル: Direction.cs プロジェクト: Andreiiy/Travel_agent
 public static DataSet GetContinent_ID(string cont)
 {
     return(OleDbHelper.fill("select * from Direction where Continent='" + cont + "'", "Direction"));
 }
コード例 #2
0
ファイル: Direction.cs プロジェクト: Andreiiy/Travel_agent
 public static DataSet GetContinent(int directID)
 {
     return(OleDbHelper.fill(string.Format("select * from Direction where DirectionID={0}", directID), "Direction"));
 }
コード例 #3
0
 public static DataSet GetPayment(int voucherID)
 {
     return(OleDbHelper.fill(string.Format("select * from Payment where VoucherID= {0}", voucherID), "Payment"));
 }
コード例 #4
0
ファイル: LogPas.cs プロジェクト: Andreiiy/Travel_agent
 public static DataSet GetLogPas(string login, int password)
 {
     return(OleDbHelper.fill("select * from LogPas where Login='******' and Password ="******"LogPas"));//
 }
コード例 #5
0
 public static DataSet GetAll()
 {
     return(OleDbHelper.fill("select * from Payment", "Payment"));
 }