Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > BC30002: Type 'DataRowView' is not defined.

Thread Tools

BC30002: Type 'DataRowView' is not defined.

Posts: n/a
Hi I get this error when I try to run my Page which has nested

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

I have 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.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
type(d) != type(d.copy()) when type(d).issubclass(dict) kj Python 5 12-26-2010 06:48 PM
#define ALLOCIT(Type) ((Type*) malloc (sizeof (Type))) Yevgen Muntyan C Programming 10 02-13-2007 02:52 AM
Re: Type casting- a larger type to a smaller type pete C Programming 4 04-02-2004 05:19 PM
Re: Type casting- a larger type to a smaller type heyo C Programming 3 04-01-2004 06:35 PM
Cast from type 'DBNull' to type 'String' is not valid. Elmo Watson ASP .Net 3 12-25-2003 03:30 AM