public static int GetCheckOutID(DateTime dt, string username) { dbConnect con = new dbConnect(); int ret = con.GetCheckOutID(dt, username); con.Close(); return(ret); }