Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with New button
Message
 
À
22/07/2008 19:17:30
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01332870
Message ID:
01333875
Vues:
8
>>Tim,
>>I thought you would be interested in the solution for this. I got it from Josh Horne at OakLeaf. I had to add the following code in order to position the pointer to the end of the table.
>>
>>
>>this.BindingContext[oBizObject.GetCurrentDataSet(), "TableName"].Position = oBizObject.GetCurrentDataSet().Tables["TableName"].Rows.Count - 1;
>>
>>Thanks for all your help.
>>
>
>I thought you had tried that. It is the same code from the dev guide under mmButtonNew of Using Specialized Buttons. I must have missed some communication there. Glad you got it working.
>Tim

Hi Tim,
I ended up talking to Josh before I got back to the dev guide. I must admit, I didn't really think that the heading "Specialized Buttons" applied to this because I was just adding a simple feature to the standard button. In fact, as I guess you found, the problem occurred even when I didn't add any code to the standard mmbuttonNew. By the time I got that suggestion from you, I was ready to weave baskets for a living. I can't thank you enough for all your help.
Linda Harmes
HiBit Technologies, Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform