Having problem with a setup and can not figure this one out.
Line 53 is stumping me with this.
Line 53 is stumping me with this.
dashboard:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SqlClient;
using System.Configuration;
namespace Reporting_v1
{
public partial class DashBoard : Form
{
List<Closeout> closeout = new List<Closeout>();
public DashBoard()
{
InitializeComponent();
UpdateBinding();
}
private void UpdateBinding()
{
filterListBox.DataSource = closeout;
filterListBox.DisplayMember = "FullCloseout";
}
private void viewrptbtn_Click(object sender, EventArgs e)
{
switch (reportListBox.SelectedItem.ToString())
{
case "DSR":
DSR h = new DSR();
h.ShowDialog();
break;
}
}
private void reportListBox_SelectedIndexChanged(object sender, EventArgs e)
{
}
private void closeoutlbl_Click(object sender, EventArgs e)
{
DataAccess db = new DataAccess();
closeout = db.GetCloseout(closeidText.Text);
UpdateBinding();
}
private void filterListBox_SelectedIndexChanged(object sender, EventArgs e)
{
;
}
private void closeouttextBox_TextChanged(object sender, EventArgs e)
{
}
private void DashBoard_Load(object sender, EventArgs e)
{
}
}
}