BC30002: Type 'DataRowView' is not defined.

N

Niks

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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top