Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ArgumentOutOfRangeException

Reply
Thread Tools

ArgumentOutOfRangeException

 
 
arujgeorge@gmail.com
Guest
Posts: n/a
 
      12-09-2005
hi

i am getting an error of ArgumentOutOfRangeException after deleting
record from the data grid. the code i written is


If GridRepair.VisibleRowCount > 0 Then
deleteConfirm = MsgBox("Do you want to delete the
selected Record", MsgBoxStyle.DefaultButton2 Or MsgBoxStyle.YesNo,
MESALS)
If deleteConfirm = MsgBoxResult.Yes Then
Dim TransferID As Integer =
GridRepair.CurrentRowIndex
GridRepair.DataSource = Nothing
GridRepair.DataSource =
m_RepairAccessoriesCol.EquipmentsInfo
GridRepair.Refresh()

please help me .

 
Reply With Quote
 
 
 
 
Joshua Flanagan
Guest
Posts: n/a
 
      12-10-2005
Please provide the full details of the exception (not just the type, but
the Message, and the full stack trace). What line of code is throwing
the exception?
 
Reply With Quote
 
 
 
Reply

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
System.ArgumentOutOfRangeException: 'DropDownList' has a SelectedValue which is invalid because it does not exist in the list of items. J055 ASP .Net 4 11-14-2007 03:08 AM
System.ArgumentOutOfRangeException: Index was out of range hari ASP .Net 3 11-15-2006 04:15 PM
Deleting row from GridView causes ArgumentOutOfRangeException during System.Web.UI.WebControls.GridView.set_SelectedIndex(Int32 value) loga123 ASP .Net 2 06-28-2006 08:32 PM
how to use the "ArgumentOutOfRangeException" Ż6 ASP .Net 1 12-16-2005 06:02 AM
System.ArgumentOutOfRangeException: Length cannot be less than zero. Parameter name: length =?Utf-8?B?SG96aQ==?= ASP .Net 1 06-01-2004 11:06 PM



Advertisments