Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > datalist sample problem

Thread Tools

datalist sample problem

Michael Johnson 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
Problem with DataList within DataList Will ASP .Net Web Controls 4 10-18-2007 03:19 AM
looking for sample with backend sample is there one? Jake ASP .Net 0 02-09-2006 10:44 PM
Looking for a CheckBoxList(DataBinded) in a DataList sample on the NET Patrick Olurotimi Ige ASP .Net 0 06-22-2005 03:04 AM
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 How? Gönen EREN ASP .Net 0 08-22-2003 02:41 PM