Esempio n. 1
0
        private void cenovnikk_Load(object sender, EventArgs e)
        {
            DataTable dt = Bazaa.selectCene();

            if (dt.Rows.Count > 0)
            {
                textBox1.Text = dt.Rows[0][0].ToString();
                textBox2.Text = dt.Rows[1][0].ToString();
                textBox3.Text = dt.Rows[2][0].ToString();
                textBox4.Text = dt.Rows[3][0].ToString();
            }
            else
            {
                MessageBox.Show("Proverite");
            }
        }