Hi All,
I'm using the following to fill a DataSet:
public void itemSearch(string column, string item)
{
...fill DataSet
}
I want to be able to move to the next and previous rows with:
private void cmdNext_Click(object sender, EventArgs e)
{
BindingContext[ds.Tables[0]].Position += 1;
}
The problem is the DataSet (ds) isn't accessible. I'm a novice here
but thought that since the Dataset method was public I'd be able to
access it.
How can I do that?
Thanks for any insight.