예제 #1
0
 private void btnGetCollection_Click(object sender, EventArgs e)
 {
     try
     {
         SAPINTDB.DbUtil dbUtil = new SAPINTDB.DbUtil(cbxDbConnection.Text);
         this.dataGridView2.DataSource = dbUtil.getCollection(txtCollectionName.Text);
     }
     catch (Exception exception)
     {
         MessageBox.Show(exception.Message);
     }
 }
예제 #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     try
     {
         SAPINTDB.DbUtil dbUtil = new SAPINTDB.DbUtil(cbxDbConnection.Text);
         this.dataGridView1.DataSource = dbUtil.getDbObjectList();
     }
     catch (Exception exception)
     {
         MessageBox.Show(exception.Message);
     }
 }
        private void button1_Click(object sender, EventArgs e)
        {
            try
            {
                SAPINTDB.DbUtil dbUtil = new SAPINTDB.DbUtil(cbxDbConnection.Text);
                this.dataGridView1.DataSource = dbUtil.getDbObjectList();
            }
            catch (Exception exception)
            {

                MessageBox.Show(exception.Message);
            }
        }
        private void btnGetCollection_Click(object sender, EventArgs e)
        {
            try
            {
                SAPINTDB.DbUtil dbUtil = new SAPINTDB.DbUtil(cbxDbConnection.Text);
                this.dataGridView2.DataSource = dbUtil.getCollection(txtCollectionName.Text);
            }
            catch (Exception exception)
            {

                MessageBox.Show(exception.Message);
            }
        }