Exemplo n.º 1
0
        private async void btnAsyncUpdateTable_Click(object sender, EventArgs e)
        {
            var result = await AsyncTest.CallingAsync();

            dohlcValues = AsyncTest.ConvertDatesToDohlcModel(dohlcValues, result);

            dgvDohlcValues.DataSource = dohlcValues;

            SqlConnector.InsertDohlcValuesToSql(dohlcValues);
        }