Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting and Adding Records to the Dataset
Message
 
À
30/11/2004 09:50:00
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00965658
Message ID:
00965803
Vues:
10
Hi Bonnie.
Just to let you know I tried out waht you suggested and it worked fine.

I just made one change to the syntax:
this.dsIFSR.Tables["IFISR"].DefaultView[recnum].Delete();

(If I used just IFISR, without the Tables[" "], I was getting an error.

Regards,

Gerard


>Hi Gerard,
>
>Did my reply to you for your question in the other thread (Message #965561) not help at all?
>
>~~Bonnie
>
>
>
>>Hi.
>>
>>I have a two page Pageframe with:
>> Page 1: Has a Dataset which lists all records
>> Page 2: Has each field for a particular record.
>>
>>I am trying to set up two buttons which
>> 1) Deletes the highlifhted record from the Dataset and persists this back
>> to the database when I Save
>> 2) Button which adds a blank record -- I then want focus to be set to
>> Page two
>>
>>I have an Update button working fine now for 'amended' records but am unclear how to tackle Deletes or New records.
>>
>>Any help or pointers in the right direction much appreciated.
>>
>>Regards,
>>Gerard
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform