ArgumentOutOfRangeException

Discussion in 'ASP .Net' started by arujgeorge@gmail.com, Dec 9, 2005.

  1. Guest

    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 .
    , Dec 9, 2005
    #1
    1. Advertising

  2. 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?
    Joshua Flanagan, Dec 10, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?SG96aQ==?=
    Replies:
    1
    Views:
    6,937
    Ken Cox [Microsoft MVP]
    Jun 2, 2004
  2. hari
    Replies:
    3
    Views:
    12,512
    Vimal
    Nov 15, 2006
  3. ÀÏÆÅ»³ÔÐ6¸öÔÂ

    how to use the "ArgumentOutOfRangeException"

    ÀÏÆÅ»³ÔÐ6¸öÔÂ, Dec 16, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    389
    Rob Schieber
    Dec 16, 2005
  4. loga123
    Replies:
    2
    Views:
    5,683
    loga123
    Jun 28, 2006
  5. J055
    Replies:
    4
    Views:
    7,878
    Steven Cheng[MSFT]
    Nov 14, 2007
Loading...

Share This Page