//Method used when one of the events on the page is updating the table and query
 private void Binding(DataView view)
 {
     //Sets the datasource of the webpage's Gridview to the TableBase object's returned Dataview from event methods.
     PurchaseOrderLinesGridView.DataSource = view;
     //Calls for the page to be updated and a postback
     PurchaseOrderLinesGridView.DataBind();
 }
 //Method used when the page is intially called and loaded
 private void Binding()
 {
     //Sets the datasource of the webpage's Gridview to the TableBase object's returned DataView
     PurchaseOrderLinesGridView.DataSource = Base.BindGrid();
     //Calls for the page to be updated and a postback
     PurchaseOrderLinesGridView.DataBind();
 }