Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to convert this code to .NET
Message
 
À
28/09/2011 09:43:06
Lam Hung
Truong Nguyen Co.,Ltd
Ho Chi Minh City, Vietnam
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01525046
Message ID:
01525284
Vues:
64
>Hi friend :
> I have the following code in Foxpro and now, could you please show me how to convert it to .NET language ?
>
>create cursor v_templetA( date d, product_code c(15),product_name c(50))
>create cursor v_templetB( date d, product_code c(15),product_name c(50),grpcode c(15),grpname c(50))
>
>select v_templetA
>append from dbf('v_templetB')
>
>thank you very much.
Is there a reason you don't want to do this as a stored procedure and just call the stored procedure from .NET? That's what I would do. If these are views that you only create on the fly, you would probably want to look at table variables and/or common table expressions. If you are using existing views, that would simplify things.
Linda Harmes
HiBit Technologies, Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform