Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
|
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 26th, 2010, 07:30 AM
Authorized User
 
Join Date: Dec 2006
Posts: 36
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via Yahoo to deb1980
Default Dropdown - System.ArgumentOutOfRange Exception

Hi,

I have a dropdown which binds data from the code behind, using the following code:

DrpDiscussions.DataSource = dt;
DrpDiscussions.DataTextField =
"Discussion_Name";
DrpDiscussions.DataValueField =
"Discussion_Id";
--> DrpDiscussions.DataBind();

However when i try run the program it shows a "System.ArgumentOutOfRangeException: Selection out of range" error.

Any ideas?

Thanks
__________________
---
Best regards,

Debashis
http://debashis80.spaces.live.com/





Similar Threads
Thread Thread Starter Forum Replies Last Post
System out of memory exception cmrhema Visual Studio 2005 0 August 21st, 2007 08:38 AM
Howto Serialize System.Exception? jacob C# 3 November 6th, 2006 12:12 PM
System.OutOfMemory Exception Ron Howerton ASP.NET 1.0 and 1.1 Professional 7 November 30th, 2005 10:08 AM
System.Exception .aspx website dephjam C# 3 April 13th, 2005 07:59 PM
System.TyepInitialization.Exception w connection fig000 Pro VB.NET 2002/2003 1 July 18th, 2003 08:37 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.