Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reference to Data Row from within Biz Obj
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00862572
Message ID:
00862624
Vues:
13
Hi Terry,

You can use the CurrencyManager to get this information. Here is an example:
CurrencyManager cm = (CurrencyManager)this.BindingContext[(DataSet)this.grdDetail.DataSource,this.GetBizObj("VoucherDetail").TableName];
DataRow CurrentDataRow = ((DataRowView)cm.Current).Row;
>From within a business object, how can I determine the current row position of the current data table or the object reference to the current data row?
>
>Terry Carroll
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform