page.bind help

From: JDM (
Date: 02/18/04

Date: Wed, 18 Feb 2004 12:42:40 -0800

I'm no expert. But its been my experience that you need
only call control.databind() for each control, or
page.databind() for entire page. But not both.

Hope this helps.

link to checkout from ms;en-

>-----Original Message-----
>Hello Group,
> I have 2 datagrid controls. I try to
display them in a
>webpage using the following code. But it seems like both
controls display
>the same info. Here is the code:
>dataGridCurrentYear.DataSource = myDataView
>myDataView.RowFilter = "OrderDate >= #01/01/2001#
>dataGridPreviousYears.DataSource = myDataView
>myDataView.RowFilter = "OrderDate < #01/01/2003"
>It works fine if page.databind() is removed. Can I know
the reason behind