BC30002: Type 'DataRowView' is not defined.

Discussion in 'ASP .Net Datagrid Control' started by Niks, Apr 14, 2004.

  1. Niks

    Niks Guest

    Hi I get this error when I try to run my Page which has nested
    DataGrid.

    <asp:DataGrid id=DataGrid2 runat="server" AutoGenerateColumns="False"
    BorderColor="#33FF33" DataKeyField="OrderID"
    DataSource='<%# CType(Container.DataItem,DataRowView).CreateChildView("OrderRelation")
    %>'>
    <HeaderStyle Font-Bold="True" ForeColor="#CC0066" BackColor="#CCCC99"
    />

    I have system.data namespace included in my code behind page.

    One intresting thing is that the same page works on my Laptop which
    has .NET 2003 beta version and doesn't work on my work desktop which
    has .NET 2002.

    Is this anything related to version ??

    Any ideas greatly appreciated.

    Thanks,
    Arun.
     
    Niks, Apr 14, 2004
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nuve
    Replies:
    0
    Views:
    2,339
  2. Nuve Nai
    Replies:
    0
    Views:
    1,117
    Nuve Nai
    Oct 23, 2003
  3. CJM
    Replies:
    7
    Views:
    2,095
    Steven Cheng[MSFT]
    Aug 13, 2004
  4. David Lozzi

    BC30002: Type 'EventArgs' is not defined

    David Lozzi, Dec 6, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    3,312
    David Lozzi
    Dec 6, 2004
  5. Oodini
    Replies:
    1
    Views:
    2,085
    Keith Thompson
    Sep 27, 2005
  6. Mel
    Replies:
    8
    Views:
    6,169
    Mark Rae [MVP]
    Aug 10, 2007
  7. =?Utf-8?B?amFzbGVndW1l?=
    Replies:
    0
    Views:
    456
    =?Utf-8?B?amFzbGVndW1l?=
    Aug 14, 2007
  8. Andrew

    error BC30002: Type 'x' not defined

    Andrew, Apr 22, 2009, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    897
    Andrew
    Apr 22, 2009
Loading...