As i do not have varable i have changes valueToUseAsAFilter
to where the data source is = new_HomeDataSet
This is all my code hope you can help?
Code:
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
this.tableAdapterManager1.Fill(this.new_HomeDataSet.NHE);
}
private void button1_Click(object sender, EventArgs e)
{
System.Data.OleDb.OleDbConnection dr;
bindingSource1.Filter = string.Format("MycolumnName = '{0}'", new_HomeDataSet);
DataView Dv = new DataView(new_HomeDataSet.NHE, "EMPLOYEE_NAME", "column you will use to sort data", DataViewRowState.CurrentRows);
System.NotImplementedException = System.NotImplementedException
The method or operation is not implemented.