Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DetailsView don't save error index
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
DetailsView don't save error index
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01355177
Message ID:
01355177
Vues:
60
Hi,

I edited page using DetailsView control. Is this a Error?

When ItemUpdating event is called this error occurs.

Protected Sub mmDetailsView1_ItemUpdating(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DetailsViewUpdateEventArgs) Handles mmDetailsView1.ItemUpdating
Dim ds As DataSet = CType(Session("ds" + Me.oBO.TableName), DataSet)
Me.mmDetailsView1.BindControlToData(ds, "Moneda")
Me.Save(Me.oBO, ds) --------------------------------------------------------> error (1)
Me.BindControl(Me.mmDetailsView1)
end sub

show error (1)
"Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index"

How to do the DetailsView control save correct?

Thank for all.
Luis Petek
Developer
Répondre
Fil
Voir

Click here to load this message in the networking platform