Information générale
Catégorie:
Code, syntaxe and commandes
>HI.
>I am finding that quite often I need to Browse (ala VFP) a Table in a c# App, mostly for testing stuff.
>Has anybody come across any Generic Code that would be something like:
> BrowseTable(string connectString, string myTable)
> that would return a Form with a Browse of all the fields, maybe in a Grid
>In VFP, it was just a matter of typeing Browse
>There are many places in my C# app where this would come in useful
>
>I could probably write something to do this, but if there is someting already there it would be very useful.
Not sure if you mean that you need this functionality built into the runtime or just want it during development or debugging. If the latter then, in VS, you could use Server Explorer and 'Show Table Data' on the table of interest. You can also use 'Create Query' to get a bit more fancy....
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement