Description
Overview
You’ll create a program that will allow the user to print the scores from NBA games in 2008 and 2009. The application will consist of two DateTimePickers and a drop down with all the NBA teams listed so that the user can select which games they would like printed, and three print buttons: Page Setup, Print, and Print Preview.
on this link has the files your need as well as last year's assignment, the two assignment should similar
Unformatted Attachment Preview
Purchase answer to see full attachment
Explanation & Answer
Hello, check the solution . Just hoping that your name is Alhaweal
C:\Users\NGAHU-PC\documents\visual studio 2013\Projects\A8_Alhaweal\A8_Alhaweal\Form1.cs
1
//CPSC 275
//Fall 2018
//Assignment 8: Basketball Games
using
using
using
using
using
using
using
using
using
using
System;
System.Collections.Generic;
System.ComponentModel;
System.Data;
System.Drawing;
System.Linq;
System.Text;
System.Threading.Tasks;
System.Windows.Forms;
System.Data.OleDb;
namespace A8_Alhaweal
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
//variables
static OleDbConnection con;
static OleDbCommand cmd;
static OleDbDataReader reader;
private void btnpagesetup_Click(object sender, EventArgs e)
{
/*The following page set up button enables the user to set the printout as expected*/
pageSetupDialog1.AllowMargins = true;
pageSetupDialog1.MinMargins.Left = 100;
pageSetupDialog1.MinMargins.Right ...