I'm coding in Visual Studio 2013 using c#. I have a global string variable which is "order" as stated below code: Globals.order
private void frmPrint_Load(object sender, EventArgs e)
{
// TODO: This line of code loads data into the 'cashierDatabaseDataSet.MALE_LINEUP' table. You can move, or remove it, as needed.
this.mALE_LINEUPTableAdapter.Fill(this.cashierDatabaseDataSet.MALE_LINEUP, Globals.order);
}
now, I want the mALE_LINEUPTableAdapter
to be filled with the cashierDatabaseDataSet
containing only the matched string value of Globals.order
on MALE_LINEUP table
.
I've found a similar condition at MSDN which instruct me code it like this:
customersTableAdapter.FillByCity(northwindDataSet.Customers, "Seattle");
but it gives me error:
"No overload for method 'Fill' takes 2 arguments"
please can someone help me!