J
jensen bredal
Hello,
I'm wondering about how to accomplish an apparent simple thing.
I read from a cached dataset in an asp.net application cache as shown
below:
// Set a filter on the view of the Calls table.
dsBoth.Tables["Calls"].DefaultView.RowFilter = "ContactID=" +
drpContacts.SelectedItem.Value.ToString();
// Bind to the data grid.
grdCalls.DataBind();
Note that the "RowFilter" property of the DefaultView only seem to accept
what would come after the "where" clause in an sql statement. right?
What is i want add a select top(50) * ...., How do i proceed ?
Many thanks in advance
JB
I'm wondering about how to accomplish an apparent simple thing.
I read from a cached dataset in an asp.net application cache as shown
below:
// Set a filter on the view of the Calls table.
dsBoth.Tables["Calls"].DefaultView.RowFilter = "ContactID=" +
drpContacts.SelectedItem.Value.ToString();
// Bind to the data grid.
grdCalls.DataBind();
Note that the "RowFilter" property of the DefaultView only seem to accept
what would come after the "where" clause in an sql statement. right?
What is i want add a select top(50) * ...., How do i proceed ?
Many thanks in advance
JB