Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > problems with datalist example

Thread Tools

problems with datalist example

john doe Jr
Posts: n/a

I am following the example just like they had it, except I didn't use any

The problem i am having is when I call:

String title = DataList1.DataKeys[E.Item.ItemIndex].ToString();

(Line 86)

I get an Index out of Range error.

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
DataList example from Prosise yields no output - don't know why Richard Lionheart ASP .Net 3 09-05-2005 03:14 AM
'' == '' => false... is this intended? Sam Roberts Ruby 15 02-07-2005 04:36 PM
Setting up a datalist control - Item_DataBound for a datalist in a datalist Nevyn Twyll ASP .Net 8 09-09-2004 10:13 PM
DataList in DataList acko bogicevic ASP .Net 2 11-11-2003 08:31 AM
Datalist in Datalist How? Gönen EREN ASP .Net 0 08-22-2003 02:41 PM