if (Session["DataTable"] != null)
table = (DataTable)Session["DataTable"];
// SORT DATATABLE AND MAKE SURE ACCOUNTS ARE LISTED FIRST
string sort = "ItemType Desc";
DataView dv = new DataView(table, "", sort, DataViewRowState.CurrentRows);
InsertInvoiceValues(dv);
|