PC Review


Reply
Thread Tools Rate Thread

DataItem property of DataGridItem, RepeaterItem, DataListItem,GridViewRow

 
 
Jeremy
Guest
Posts: n/a
 
      10th Jan 2008
In all of my cases, the DataItem property of DataGridItem, RepeaterItem,
DataListItem,GridViewRow contain a DataRowView. When will they contain a
different type, and what types can they be?


 
Reply With Quote
 
 
 
 
bruce barker
Guest
Posts: n/a
 
      10th Jan 2008
the type will depend on what you are datasource binding to. when you use
something besides a DataView (say a string[]), you will get a different type
in DataItem.

-- bruce (sqlwork.com)


"Jeremy" wrote:

> In all of my cases, the DataItem property of DataGridItem, RepeaterItem,
> DataListItem,GridViewRow contain a DataRowView. When will they contain a
> different type, and what types can they be?
>
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Accessing GridViewRow.DataItem outside of GridView databinding events Andy B. Microsoft ASP .NET 5 4th Jul 2009 01:50 PM
Getting Dataitem from a Repeateritem? champ.supernova@gmail.com Microsoft ASP .NET 3 14th May 2007 03:44 PM
DataItem in DataListItem is null. Mirek Endys Microsoft ASP .NET 7 15th Dec 2005 03:59 PM
DataGridItem.DataItem property? Joel Lyons Microsoft ASP .NET 2 26th Oct 2004 09:30 PM
Getting DataItem from a RepeaterItem ric carrasquilla Microsoft ASP .NET 2 4th Mar 2004 04:28 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:51 AM.