Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   ArgumentOutOfRangeException (http://www.velocityreviews.com/forums/t115173-argumentoutofrangeexception.html)

arujgeorge@gmail.com 12-09-2005 12:56 PM

ArgumentOutOfRangeException
 
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 .


Joshua Flanagan 12-10-2005 12:09 AM

Re: ArgumentOutOfRangeException
 
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?


All times are GMT. The time now is 04:47 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.