示例#1
0
        private void ReportButton_Click(object sender, EventArgs e)
        {
            DataRowView drv = comboBox1.SelectedItem as DataRowView;
            int         id  = Convert.ToInt32(comboBox1.SelectedValue);

            DataTable dtRecord = SqlUpdater.Schedule(id.ToString());

            userReportView.DataSource = dtRecord;
        }