Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP to C# re-write
Message
De
12/02/2013 16:34:25
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01565784
Message ID:
01565829
Vues:
86
This message has been marked as a message which has helped to the initial question of the thread.
>>Narrow down all that to a simple SELECT and then return either an ADO.Net record set or an EF entity.
>>
>
>I found some samples using DataTable and also apparently we have methods that operate with the datatable, so I am going to proceed this route.

You could probably write this in t sql while you were reading the paper in the morning. Why mess with C# / ADO. Just munge the data on the back end an return the product (or, for that matter, return XML)


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform