protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { Borrow borrow = new Borrow(); txtBorrowID.Text = borrow.GetNewBorrowOrderID().ToString(); for (int i = 0; i < 3; i++) { bookID[i] = -1; } } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { Borrow borrow = new Borrow(); txtBorrowID.Text = borrow.GetNewBorrowOrderID().ToString(); for (int i = 0; i < 3; i++) { bookID[i] = -1; } } }