page.bind help
From: JDM (anonymous_at_discussions.microsoft.com)
Date: 02/18/04
- Next message: Jens Saxe: "Number of questions on the 70-315 exam?"
- Previous message: Cindy Winegarden: "Re: VS.NET registration"
- Messages sorted by: [ date ] [ thread ]
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
http://support.microsoft.com/default.aspx?scid=kb;en-
us;q307860#1b
>-----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#
>dataGridCurrentYear.DataBind0
>dataGridPreviousYears.DataSource = myDataView
>myDataView.RowFilter = "OrderDate < #01/01/2003"
>dataGridPreviousYears.DataBindO
>Page.DataBind0
>
>It works fine if page.databind() is removed. Can I know
the reason behind
>it?
>
>Thanks,
>Chris.
>
>
>.
>
- Next message: Jens Saxe: "Number of questions on the 70-315 exam?"
- Previous message: Cindy Winegarden: "Re: VS.NET registration"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|