Ejemplo n.º 1
0
        private void mitemBuildDS_Click(object sender, System.EventArgs e)
        {
            //  Build the DataSet from the Database.
            DataSet   dsetWork    = UtilData.BuildDataSet(strFile);
            DataTable dtabCurrent = dsetWork.Tables[0];

            //  Display the first table in the
            //     Parent datagrid control.
            dgridParent.DataSource = dtabCurrent;
            dgridParent.Text       = dtabCurrent.TableName;
        }