Esempio n. 1
0
        private void comboBoxStatus_SelectedIndexChanged(object sender, EventArgs e)
        {
            Data orders = ShardDb.getOrderByStatus(Convert.ToInt16(comboBoxStatus.SelectedValue));

            if (!orders.Success)
            {
                this.Close();
                return;
            }
            //foreach (DataRow row in orders.DataTable.Rows)
            //{
            //    if (row.ItemArray[8].ToString() == "1900/1/1")
            //    {
            //        row.ItemArray[8] = "";
            //    }
            //}
            dataGridViewOrders.DataSource = orders.DataTable;

            changeDataGridView();
        }