Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using DataView
Message
 
À
23/11/2004 16:11:55
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Divers
Thread ID:
00963995
Message ID:
00964139
Vues:
7
You never know. He could be a bot, and trying to increase the number of messages he posts. Don't worry, Bonnie. He will never be as kewl (oh.. you would say "cool") as you! :P

Morgan

>Nick,
>
>You posted this exact same question 4 days ago and Cetin and Dave answered you already. Why are you asking again?
>
>~~Bonnie
>
>
>
>>I am looking at the code below from the help file (and it is the same as in the example provided with MM) and I can not figure it out. So is it just me, or ...
>>
>>1. First the code checks to see if DataView named dv+ (in this case dvShippers) exists and if not,
>>2. goes and creates DataView called dvShippersByPhone
>>
>>Any reasonable explanation or it is just one of those spelling errors ;)?
>>
>>// Check if the DataView already exists <===1.
>>DataView dv = (ds.GetDataView("dv" + this.CurrentTableName, this.CurrentTableName));
>>if (dv == null)
>>{
>>// Create a custom DataView sorted by phone
>>dv = new DataView(ds.Tables["Shippers"]);
>>dv.Sort = "Phone";
>>ds.AddDataView(dv, "dvShippersByPhone"); <=== 2.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform